projects
/
infodrom.org
/
infocon.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5c924
)
In 2008 we use php as suffix
author
Joey Schulze
<joey@infodrom.org>
Fri, 27 Jun 2008 07:29:06 +0000
(07:29 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 27 Jun 2008 07:29:06 +0000
(07:29 +0000)
Makefile
patch
|
blob
|
history
bin/fixsuffix
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
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 "*.php
3
"
+FILES+= --include "*.html" --include "*.shtml" --include "*.php"
FILES+= --include "*.jpg" --include "*.gif" --include "*.png"
FILES+= --include "favicon.ico"
FILES+= --include "infocon.css"
diff --git
a/bin/fixsuffix
b/bin/fixsuffix
index
e639d8b
..
d12cb97
100755
(executable)
--- a/
bin/fixsuffix
+++ b/
bin/fixsuffix
@@
-5,7
+5,7
@@
# .html -> .shtml
# Require "<!--#include"
#
-# .html -> .php
3
+# .html -> .php
# Require "<?"
for f in $*
@@
-18,7
+18,7
@@
do
if grep -q '<?' $f
then
base=${f%.html}
- mv -f $f $base.php
3
+ mv -f $f $base.php
fi
fi
done