SRC := $(filter-out $(wildcard meta_*),$(wildcard *.m4))
OUTPUTS := $(patsubst %.m4,out/%.html,$(SRC))
-STATIC := $(patsubst static/%,out/%,$(wildcard static/*))
+STATIC := $(patsubst static/%,out/%,$(wildcard static/* static/.*))
all: $(OUTPUTS) out/notes.atom out/notes.rss out/style.css $(STATIC)
$(STATIC): ; ln -s $(PWD)/static/$(notdir $@) $@
deploy:
- rsync -avzLP out/ abandali@bandali.eu.org:www/
+ rsync -avzLP out/ abandali@bandali.eu.org:www/site/
+ ssh abandali@bandali.eu.org mv www/site/.htaccess-www www/.htaccess
.PHONY: deploy