Document support for address lookup
[infodrom.org/www.infodrom.org] / Makefile
index 626f743..143971a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@ install: fix
        rsync -lptr $(FILES) src/ $(DEST)/
        install -m 644 src/Debian/lists-lookup.php3 $(DEST)/Debian/lists-lookup.php
        install -m 644 src/search.php3 $(DEST)/search.php
-       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
+       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)