File: Makefile.am

package info (click to toggle)
quintuple-agent 1.0.4-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,956 kB
  • ctags: 1,287
  • sloc: ansic: 11,724; sh: 3,999; makefile: 387; yacc: 316; sed: 16
file content (39 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## Process this file with automake to produce Makefile.in

man_MANS = agpg.1 apgp.1 q-agent.1 secret-ask.1 q-client.1 \
	   secret-query.1

MANUAL = manual.info

EXTRA_DIST = $(man_MANS) agpg.sgml apgp.sgml query-options.sgml \
	     q-agent.sgml secret-ask.sgml q-client.sgml secret-query.sgml \
	     trailer.sgml manual.sgml manual.texi $(MANUAL)

# Where sgmlspl's specs reside. You may have to override this.
# Trailing slash is mandatory.
DBSPECS = /usr/share/sgml/docbook/utils-0.6.12/helpers/

all-local: $(MANUAL)

%.1: %.sgml trailer.sgml
	nsgmls $< | sgmlspl $(DBSPECS)docbook2man-spec.pl

%.texi: %.sgml
	@(set -e; while true; do \
		echo nsgmls $< \| sgmlspl $(DBSPECS)docbook2texi-spec.pl \> $@; \
		nsgmls $< | sgmlspl $(DBSPECS)docbook2texi-spec.pl > $@ 2> $@.log; \
		cat $@.log; \
		grep 'references\? have changed' $@.log >/dev/null || break; \
	done)

## automake's texi support is a bit too much here
%.info: %.texi
	makeinfo $*

q-agent.1 q-client.1:: query-options.sgml

maintainer-clean-local:
	rm -f $(man_MANS) manual.texi manual.info

clean-local:
	rm -f *.refs *.log *.links