File: Makefile

package info (click to toggle)
ben 0.7.0%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 460 kB
  • ctags: 776
  • sloc: ml: 3,584; makefile: 86; ansic: 39
file content (14 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all: ben.1 refman.html

REVISION=$(shell cd .. && dpkg-parsechangelog | sed -n "s/Version: //p")

ben.1:
	a2x --doctype manpage --format manpage $@.txt

refman.html:
	asciidoc -b html5 -a icons -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a toc2 -a localrevision='$(REVISION)' $(@:.html=.txt)

.PHONY: ben.1 refman.html

clean:
	-rm -f refman.html ben.1