Improved search form
[infodrom.org/lists.infodrom.org] / Makefile
index a39601f..86b0b2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,11 +12,13 @@ endif
 
 FILES = --exclude "CVS/" --exclude "*imgdot-1x1-transp-ffffff.gif" --exclude "*imgdot-1x1-transp.gif"
 ifeq ($(hostname),luonnotar)
-FILES+= --exclude Mail-Archive/ --exclude Infodrom/mailstats/
+FILES+= --exclude stats/
 endif
 FILES+= --include "*/"
-FILES+= --include "*.html" --include "*.shtml" --include "*.php3" --include "*.txt"  --include "*.ps"
+FILES+= --include "*.html" --include "*.shtml" --include "*.php" --include "*.txt"  --include "*.ps"
 FILES+= --include "*.png" --include "*.gif" --include "*.jpg"
+FILES+= --include "infodrom.css" --include "menu.css"
+FILES+= --include "favicon.ico"
 FILES+= --exclude "*"
 
 build:
@@ -31,9 +33,10 @@ fix:
 
 install: fix
        test -d $(DEST) || mkdir -p $(DEST)
-       rsync -lptr --exclude stats $(FILES) src/ $(DEST)/
-       rsync src/index.php3 /var/www/lists.infodrom.org/index.php3
-       rsync src/stats/index.php3 /var/www/lists.infodrom.org/stats/index.php3
+       rsync -lptr $(FILES) src/ $(DEST)/
+       rsync src/index.php /var/www/lists.infodrom.org/index.php
+       rsync src/search.php3 /var/www/lists.infodrom.org/search.php
+       rsync src/stats/*.php /var/www/lists.infodrom.org/stats/
 
 #      cd src && for f in *.html; do cp $$f $(DEST)/$$f; done
 ifeq ($(hostname),finlandia)