diff options
author | P. J. McDermott <pjm@nac.net> | 2012-08-12 15:42:52 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-08-12 15:42:52 (EDT) |
commit | 7a5bf554b3c746c613ff49f7ecfa45f49d473806 (patch) | |
tree | a07295634a54cc68b1308e269b6229fc32a8a277 | |
parent | f98303632bc9dac488096dea603fedb7f49f13c8 (diff) |
Handle CSS file in build system.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,11 +13,14 @@ $(FORMATS): $(BOOKS): @printf ' RENDER %s as %s\n' '$@' '$(FORMAT)' - @PERL5LIB=scripts scripts/markdownbook.pl $(FORMAT) 'policies/$@' + @PERL5LIB=scripts scripts/markdownbook.pl '$(FORMAT)' 'policies/$@' + @[ '$(FORMAT)' = 'html' ] && \ + ln -sf '../../include/main.css' 'policies/$@/main.css' || true clean: @for book in $(BOOKS); do \ printf ' CLEAN %s\n' "$${book}"; \ rm -f "policies/$${book}/"*.html; \ rm -f "policies/$${book}/"*.txt; \ + rm -f "policies/$${book}/"main.css; \ done |