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 "*.png" --include "*.gif" --include "*.jpg"
+FILES+= --include "infodrom.css"
FILES+= --exclude "*"
build:
test -d $(DEST) || mkdir -p $(DEST)
rsync -lptr $(FILES) src/ $(DEST)/
rsync src/index.php3 /var/www/lists.infodrom.org/index.php3
+ rsync src/stats/*.php3 /var/www/lists.infodrom.org/stats/
# cd src && for f in *.html; do cp $$f $(DEST)/$$f; done
ifeq ($(hostname),finlandia)