File: GMakefile.doc

package info (click to toggle)
leafnode 1.12.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,496 kB
  • sloc: ansic: 10,961; sh: 1,709; xml: 627; makefile: 259; perl: 84; sed: 4
file content (26 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# process documentation and produce HTML and PDF
# go to build directory, type make && make -f $top_srcdir/GMakefile.doc
#
FILES:=applyfilter.8 \
checkgroups.8 \
fetchnews.8 \
leafnode-version.1 \
leafnode.8 \
newsq.1 \
texpire.8

%.html: %
	groff -Thtml -Kutf-8 -man $< >$@

%.pdf: %
	groff -Tpdf -Kutf-8 -man $< >$@

HTML:=$(FILES:%=%.html)
PDF:=$(HTML:.html=.pdf)

.PHONY: all clean

all: $(HTML) $(PDF)

clean:
	rm -f $(HTML) $(PDF)