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 "projects/gerstenstaft/quote.txt"
+FILES+= --include "*.css"
+FILES+= --include "favicon.ico"
FILES+= --exclude "*"
build:
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)