File: generate-docs.make

package info (click to toggle)
poedit 1.8.11-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,116 kB
  • ctags: 2,239
  • sloc: cpp: 20,600; sh: 4,213; makefile: 210; xml: 35
file content (15 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (11)
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