File: Makefile.am

package info (click to toggle)
zoem 04-173-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,316 kB
  • ctags: 1,716
  • sloc: ansic: 14,114; sh: 798; makefile: 206; perl: 14
file content (70 lines) | stat: -rw-r--r-- 1,805 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.32 2004/06/17 08:47:34 flux Exp $

TROFF = groff
ZOEM = ../src/zoem
## perhaps could better run zoem as installed on system, so just
## say
##  ZOEM = zoem


## tidy is a HTML syntax checker and reformatter, available from
## http://www.w3.org/People/Raggett/tidy/ , by Dave Raggett <dsr@w3.org>
TIDY = tidy

docdir = $(datadir)/doc/$(PACKAGE)
docdocdir = $(docdir)/doc

azms =  buzzz.azm zum.azm zoem.azm zoemzoem.azm

## buzz* should get installed in /usr/local/share/doc/zoem/doc/ .  NOT
## in doc/zoem/examples : html documents contain relative hyperlinks
## should azms get installed in /usr/local/share/doc/zoem/doc/ too?
docdoc_DATA = zum.html zoem.html zoem.ps zoemzoem.html zoemzoem.ps \
   buzzz.html buzzz.ps buzzz.1 $(azms)
man_MANS = zoem.1 zoemzoem.7
## docexamples_DATA = buzzz.html buzzz.ps buzzz.1 $(azms)

EXTRA_DIST = inc-buzzz.pl ecosphere.azm bell.html $(azms) \
      $(docdoc_DATA)  $(man_MANS)

SUFFIXES = .1 .7 .azm .html .ps

.azm.1:
	$(ZOEM) -d roff -i $< -o $@
	$(ZOEM) -d roff -i $< -o $@

.azm.7:
	$(ZOEM) -d roff -i $< -o $@
	$(ZOEM) -d roff -i $< -o $@

.1.ps:
	$(TROFF) -man $< > $@

.7.ps:
	$(TROFF) -man $< > $@

.azm.html:
	$(ZOEM) -d html -i $< -o $@
	$(ZOEM) -d html -i $< -o $@
	- $(TIDY) -e $@

buzzz: buzzz.1 buzzz.html buzzz.ps

zum: zum.html

zum.html: zum.azm ecosphere.azm buzzz.html
	$(ZOEM) --allow=date:zoem:./inc-buzzz.pl --system-honor -d html -i zum -o $@
	$(ZOEM) --allow=date:zoem:./inc-buzzz.pl --system-honor -d html -i zum -o $@
	- $(TIDY) -e $@

## zum.html: zum.azm buzzz.html

zoem: zoem.1 zoem.html zoem.ps

zoemzoem: zoemzoem.7 zoemzoem.html zoemzoem.ps

index.html: webindex.azm ecosphere.azm
	zoem  -i webindex.azm -o index.html -d html
	- tidy -e index.html