In 2008 we use php as suffix
authorJoey Schulze <joey@infodrom.org>
Fri, 27 Jun 2008 07:29:06 +0000 (07:29 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 27 Jun 2008 07:29:06 +0000 (07:29 +0000)
Makefile
bin/fixsuffix

index e3e20d3..a4e772b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ TEST = $(HOME)/public_html/new/infocon
 endif
 
 FILES = --exclude "CVS/" --exclude "*imgdot-1x1-transp-ffffff.gif" --exclude "*imgdot-1x1-transp.gif" --include "*/"
-FILES+= --include "*.html" --include "*.shtml" --include "*.php3"
+FILES+= --include "*.html" --include "*.shtml" --include "*.php"
 FILES+= --include "*.jpg" --include "*.gif" --include "*.png"
 FILES+= --include "favicon.ico"
 FILES+= --include "infocon.css"
index e639d8b..d12cb97 100755 (executable)
@@ -5,7 +5,7 @@
 # .html -> .shtml
 #   Require "<!--#include"
 #
-# .html -> .php3
+# .html -> .php
 #   Require "<?"
 
 for f in $*
@@ -18,7 +18,7 @@ do
         if grep -q '<?' $f
        then
            base=${f%.html}
-           mv -f $f $base.php3
+           mv -f $f $base.php
        fi
     fi
 done