From 3e09ac0c10c95bb24a08af62393b4f761e2743d0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 24 Aug 2013 09:54:45 +0000 Subject: initial commit --- Documentation/GNUmakefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/GNUmakefile (limited to 'Documentation/GNUmakefile') diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile new file mode 100644 index 0000000..0353ec7 --- /dev/null +++ b/Documentation/GNUmakefile @@ -0,0 +1,24 @@ +all:: + +PANDOC = pandoc +PANDOC_OPTS = -f markdown --email-obfuscation=none +pandoc = $(PANDOC) $(PANDOC_OPTS) + +man1 := $(addsuffix .1,dtas-enq) +man7 := $(addsuffix .7,dtas-player_protocol) + +all:: man + +man: $(man1) $(man7) + +install-man: man + mkdir -p ../man/man1 + install -m 644 $(man1) ../man/man1 + +%.1: %.1.txt + $(pandoc) -s -t man < $< > $@+ && mv $@+ $@ +%.7: %.7.txt + $(pandoc) -s -t man < $< > $@+ && mv $@+ $@ + +clean:: + $(RM) $(man1) -- cgit v1.2.3-24-ge0c7