Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # generate documentation unless nodoc requested
4 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
5 DOCS = README.html README.txt
6 endif
7
8 override_dh_auto_build: $(DOCS)
9
10 override_dh_installdocs:
11 dh_installdocs --all -- $(DOCS)
12
13 %.html: %.md
14 pandoc --from gfm-raw_html --to html --standalone --output $@ $<
15
16 %.txt: %.md
17 pandoc --from gfm-raw_html --to plain --output $@ $<
18
19 %:
20 dh $@