mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-18 08:54:52 +00:00
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@235 bc163920-b10d-0410-b2c5-a5491ca2ceef
26 lines
486 B
Makefile
26 lines
486 B
Makefile
prefix = /usr/local
|
|
datadir = $(prefix)/share
|
|
mandir = $(datadir)/man
|
|
|
|
txttargets = $(shell echo *.txt)
|
|
htmltargets = $(patsubst %.txt, %.html, $(txttargets))
|
|
|
|
docs: proxytunnel.1 $(htmltargets)
|
|
|
|
install: proxytunnel.1
|
|
install -Dp -m0644 proxytunnel.1 $(DESTDIR)$(mandir)/man1/proxytunnel.1
|
|
|
|
clean:
|
|
rm -f proxytunnel.1 *.html *.xml
|
|
|
|
%.1.html: %.1.txt
|
|
asciidoc -d manpage $<
|
|
|
|
%.1: %.1.xml
|
|
xmlto man $<
|
|
|
|
%.html: %.txt
|
|
asciidoc $<
|
|
|
|
%.1.xml: %.1.txt
|
|
asciidoc -b docbook -d manpage $<
|