dwww Home | Show directory contents | Find package

# vim: ts=4 sw=4 noet
adoc_opts       = -o $@
cf_combined     = combined.conf
cf_example      = example.conf
cf_internal     = internal.conf
fangfrisch      = ../local/fangfrisch
out_html        = index.html
out_pdf         = fangfrisch.pdf
sources         = fangfrisch.adoc $(cf_combined) $(cf_example) $(cf_internal) ../contrib/fangfrisch-has-news.sh usage.txt

.PHONY: all clean force

all: $(out_html) $(out_pdf)

$(cf_combined): $(cf_example)
        $(fangfrisch) -c $< dumpconf > $@

$(cf_internal):
        $(fangfrisch) -c /dev/null dumpconf > $@

$(out_html): $(sources)
        asciidoctor -a toc=right $(adoc_opts) $<

$(out_pdf): $(sources)
        asciidoctor-pdf -a toc=preamble $(adoc_opts) $<

clean:
        /bin/rm $(out_html) $(out_pdf) || true

force:
        rm -f $(cf_combined) $(cf_internal)
        make

Generated by dwww version 1.16 on Thu Nov 19 21:40:53 CET 2026.