Document support for address lookup
[infodrom.org/www.infodrom.org] / Makefile
index 542e986..143971a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ FILES+= --exclude Mail-Archive/ --exclude Infodrom/mailstats/
 endif
 FILES+= --include "*/"
 FILES+= --include "*.html" --include "*.shtml" --include "*.php" --include "*.txt"  --include "*.ps"
-FILES+= --include "*.png" --include "*.gif" --include "*.jpg"
+FILES+= --include "*.png" --include "*.gif" --include "*.jpg" --include "*.js"
 FILES+= --include "Debian/support/debian.de/channel.xml"
 FILES+= --include "projects/gerstenstaft/quote.txt"
 FILES+= --include "*.css"
@@ -36,8 +36,10 @@ fix:
 install: fix
        test -d $(DEST) || mkdir -p $(DEST)
        rsync -lptr $(FILES) src/ $(DEST)/
-       rsync src/Mail-Archive/index.php /var/www/www.infodrom.org/Mail-Archive/index.php
-       rsync src/Infodrom/mailstats/index.php /var/www/www.infodrom.org/Infodrom/mailstats/index.php
+       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)