File: Makefile.am

package info (click to toggle)
libpll 0.3.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,300 kB
  • sloc: ansic: 25,968; yacc: 691; makefile: 393; python: 295; lex: 204; sh: 52
file content (20 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dist_man_MANS=libpll.3

if HAVE_PS2PDF

doc_DATA = libpll_manual.pdf

libpll_manual.pdf : libpll.3
	TEMP=$$(mktemp temp.XXXXXXXX) ; \
	if [ $$(uname) == "Darwin" ] ; then \
		${SED} -e 's/\\-/-/g' $< | \
		iconv -f UTF-8 -t ISO-8859-1 > $$TEMP ; \
	else \
		${SED} -e 's/\\-/-/g' $< > $$TEMP ; \
	fi ; \
	man -t ./$$TEMP | ps2pdf -sPAPERSIZE=a4 - $@ ; \
	rm $$TEMP

CLEANFILES=libpll_manual.pdf

endif