comments on logfiles

This commit is contained in:
2018-05-02 15:14:52 +02:00
parent 4247368298
commit 7b27411e2a
17 changed files with 233 additions and 109 deletions

View File

@ -1,4 +1,4 @@
POSTS = $(shell find ./posts -mindepth 1 -type d)
POSTS = $(shell find ./posts -mindepth 1 -type d | sort -r)
PAGES = $(shell find ./pages -mindepth 1 -type d)
.PHONY: all
@ -13,21 +13,22 @@ posts:
pages:
for d in $(PAGES); do (echo $$d; cd $$d; $(MAKE) -f ../../m4/posts.mk); done
.PHONY: plain
plain:
cd ./plain; $(MAKE)
.PHONY: clean
clean:
for d in $(POSTS); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done
for d in $(PAGES); do (cd $$d; $(MAKE) -f ../../m4/posts.mk cleanposts); done
-rm -f toc.inc
-rm -f abstracts.inc
-rm -f index.html
.PHONY: index
index: posts pages
index: posts pages plain
-rm -f toc.inc
-rm -f abstracts.inc
for d in $(PAGES); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done
for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexTOCEntry.m4) >> toc.inc; done
for d in $(POSTS); do (cd $$d; m4 -D URL=$$d/article.html ../../m4/macros.m4 article.m4 ../../m4/indexAbstractsEntry.m4) >> abstracts.inc; done
m4 ./m4/macros.m4 index.m4 > index.html
.PHONY: install