File: generate-docs.make

package info (click to toggle)
poedit 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,688 kB
  • ctags: 1,229
  • sloc: cpp: 9,686; sh: 3,951; makefile: 269; ansic: 10
file content (15 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

ASCIIDOC = asciidoc
XSLTPROC = xsltproc
XMLTO = xmlto

all: poedit.1

clean:
	rm -f poedit.1

poedit.1: poedit_man.txt man_asciidoc.conf man_fix.xsl
	$(ASCIIDOC) -d manpage -f man_asciidoc.conf -b docbook -o - poedit_man.txt \
		| $(XSLTPROC) -o poedit.1.xml man_fix.xsl -
	$(XMLTO) man poedit.1.xml
	rm poedit.1.xml