Debian Codegraph @

usr/share/man/man1/Makefile

raw
1 # vim:set noet ts=8
2 # All Linux/unix specific data installation by "make -C src/imediff/unix-data"
3
4 all: manpages
5
6
7 # Generate manpage from DocBook XML
8 #
9 # Require xsltproc
10 # For Debian, xsltproc binary package.
11 # For others, xsltproc is available from the libxsl source which uses libxml2.
12 # See http://xmlsoft.org/xslt/ for more.
13 #
14 # In order to have flexibility for the manpage, I commit generated manpage in advance.
15 # If you make eny manual touch up, please add "sed -i ..." script here etc.
16 #
17 # This approach should make build process more robust against some xslt upstream change etc.
18 #
19 MANPAGES = imediff.1 git-ime.1
20
21 %.1: %.xml
22 xsltproc --novalid /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $?
23
24 # This is used by the upstream
25 manpages: $(MANPAGES)
26
27 distclean: clean
28
29 clean:
30 rm -f $(MANPAGES)
31