Distribute CSS file
[infodrom.org/lists.infodrom.org] / Makefile
index 3050cd6..e026ec4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,23 @@
 hostname=$(shell hostname)
 
 ifeq ($(hostname),finlandia)
-DEST = $(HOME)/public_html/new/infodrom
-TEST = $(HOME)/public_html/new/infodrom
+DEST = $(HOME)/public_html/new/lists
+TEST = $(HOME)/public_html/new/lists
 else
 ifeq ($(hostname),luonnotar)
-DEST = /var/www/www.infodrom.org
-TEST = $(HOME)/luonnotar_html/new/infodrom
+DEST = /var/www/lists.infodrom.org
+TEST = $(HOME)/luonnotar_html/new/lists
 endif
 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 "*.png" --include "*.gif" --include "*.jpg"
-FILES+= --include "Debian/support/debian.de/channel.xml"
+FILES+= --include "infodrom.css"
 FILES+= --exclude "*"
 
 build:
@@ -33,8 +33,8 @@ fix:
 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
+       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)