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 %:
9 dh $@
10
11 %.html: %.md
12 pandoc --from gfm-raw_html --to html --standalone --output $@ $<
13
14 %.txt: %.md
15 pandoc --from gfm-raw_html --to plain --output $@ $<
16
17 override_dh_auto_build: $(DOCS)
18 dh_auto_build
19
20 override_dh_installdocs:
21 dh_installdocs -- $(DOCS)