X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Flists.infodrom.org;a=blobdiff_plain;f=Makefile;h=86b0b2bbc18a0b0aa206666d4e67ec74a7225264;hp=a39601f7f91bc4566abed7642c325498de3c7cf5;hb=eb686ec46097f040f9a11c0e4df6dc22e00596c2;hpb=17893113d25437a413a26e48cceec9c775492abb;ds=sidebyside diff --git a/Makefile b/Makefile index a39601f..86b0b2b 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,13 @@ endif 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 "*.html" --include "*.shtml" --include "*.php" --include "*.txt" --include "*.ps" FILES+= --include "*.png" --include "*.gif" --include "*.jpg" +FILES+= --include "infodrom.css" --include "menu.css" +FILES+= --include "favicon.ico" FILES+= --exclude "*" build: @@ -31,9 +33,10 @@ fix: install: fix test -d $(DEST) || mkdir -p $(DEST) - rsync -lptr --exclude stats $(FILES) src/ $(DEST)/ - rsync src/index.php3 /var/www/lists.infodrom.org/index.php3 - rsync src/stats/index.php3 /var/www/lists.infodrom.org/stats/index.php3 + rsync -lptr $(FILES) src/ $(DEST)/ + rsync src/index.php /var/www/lists.infodrom.org/index.php + rsync src/search.php3 /var/www/lists.infodrom.org/search.php + rsync src/stats/*.php /var/www/lists.infodrom.org/stats/ # cd src && for f in *.html; do cp $$f $(DEST)/$$f; done ifeq ($(hostname),finlandia)