File: Makefile

package info (click to toggle)
ben 0.7.4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 520 kB
  • sloc: ml: 3,364; makefile: 88; ansic: 39
file content (15 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: ben.1 refman.html

REVISION=$(shell cd .. && dpkg-parsechangelog -S Version)
DATE=$(shell cd .. && dpkg-parsechangelog -S Date)

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 footer-style=none -a localdate='$(DATE)' -a localrevision='$(REVISION)' $(@:.html=.txt)

.PHONY: ben.1 refman.html

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