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+= --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+= --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
+ rsync src/index.php3 /var/www/lists.infodrom.org/index.php3
# cd src && for f in *.html; do cp $$f $(DEST)/$$f; done
ifeq ($(hostname),finlandia)