File: Makefile

package info (click to toggle)
dh-ocaml 2.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: xml: 1,746; perl: 1,063; sh: 244; makefile: 105
file content (14 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

MP := $(shell ls -1 dom-*.xml)

all: $(patsubst %.xml,%.1, $(MP))

%.1: %.xml
	-xmllint --nonet --noout --postvalid --xinclude $<
	xsltproc --output $@ --nonet --xinclude \
	  /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
	  $<
	sed -i 's/CopyrightCopyright/Copyright/' $@

clean:
	rm -f *.1