Document support for address lookup
[infodrom.org/www.infodrom.org] / Makefile
index d3cf2bd..143971a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,10 +15,11 @@ ifeq ($(hostname),luonnotar)
 FILES+= --exclude Mail-Archive/ --exclude Infodrom/mailstats/
 endif
 FILES+= --include "*/"
-FILES+= --include "*.html" --include "*.shtml" --include "*.php3" --include "*.txt"  --include "*.ps"
-FILES+= --include "*.png" --include "*.gif" --include "*.jpg"
+FILES+= --include "*.html" --include "*.shtml" --include "*.php" --include "*.txt"  --include "*.ps"
+FILES+= --include "*.png" --include "*.gif" --include "*.jpg" --include "*.js"
 FILES+= --include "Debian/support/debian.de/channel.xml"
-FILES+= --include "infodrom.css"
+FILES+= --include "projects/gerstenstaft/quote.txt"
+FILES+= --include "*.css"
 FILES+= --include "favicon.ico"
 FILES+= --exclude "*"
 
@@ -35,8 +36,10 @@ fix:
 install: fix
        test -d $(DEST) || mkdir -p $(DEST)
        rsync -lptr $(FILES) src/ $(DEST)/
-       rsync src/Mail-Archive/index.php3 /var/www/www.infodrom.org/Mail-Archive/index.php3
-       rsync src/Infodrom/mailstats/index.php3 /var/www/www.infodrom.org/Infodrom/mailstats/index.php3
+       install -m 644 src/Debian/lists-lookup.php3 $(DEST)/Debian/lists-lookup.php
+       install -m 644 src/search.php3 $(DEST)/search.php
+       test ! -d /var/www/www.infodrom.org/Mail-Archive || rsync src/Mail-Archive/index.php /var/www/www.infodrom.org/Mail-Archive/index.php
+       test ! -d /var/www/www.infodrom.org/Infodrom/mailstats || rsync src/Infodrom/mailstats/index.php /var/www/www.infodrom.org/Infodrom/mailstats/index.php
 
 #      cd src && for f in *.html; do cp $$f $(DEST)/$$f; done
 ifeq ($(hostname),finlandia)