X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/553a0296a5df508f36f9332170ba5037a7d2bf8e..dcc71b98fdb8c653c2edeb9994d26d38003f4116:/GNUmakefile?ds=inline diff --git a/GNUmakefile b/GNUmakefile index 4eaaf04..bbf2bb5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,8 +7,9 @@ all: $(OUTPUTS) out/notes.atom out/notes.rss out/style.css out/GNUmakefile $(STA out/%.html: %.m4 header.html footer.html @mkdir -p $(@D) m4 $< > $@ -out/notes.atom: meta_feed_atom.m4 ; m4 $< > $@ -out/notes.rss: meta_feed_rss.m4 ; m4 $< > $@ +out/notes.%: meta_feed_%.m4 $(SRC) header.html footer.html + m4 $< > $@ + sed -i 's|href="/\([^/]\)|href="https://bndl.org/\1|' $@ out/GNUmakefile: GNUmakefile ; ln -s $(PWD)/$< $@ $(STATIC): ; ln -s $(PWD)/static/$(@F) $@ @@ -25,7 +26,7 @@ clean: deploy: rsync -avzLP out/ abandali@bndl.org:www/bndl.org/ - ssh abandali@bndl.org mv www/bndl.org/.htaccess-www www/.htaccess +# ssh abandali@bndl.org mv www/bndl.org/.htaccess-www www/.htaccess watch: while true; do \