File: Makefile.am

package info (click to toggle)
zoem 07-333-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,700 kB
  • ctags: 2,050
  • sloc: ansic: 17,942; sh: 790; makefile: 228
file content (65 lines) | stat: -rw-r--r-- 1,524 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
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
## $Id: Makefile.am,v 1.41 2006-02-15 14:23:46 flux Exp $

TROFF = groff
ZOEM = ../src/zoem
COL = col
## 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 = zum.azm zoem.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 $(azms) 
man_MANS = zoem.1

EXTRA_DIST = ecosphere.azm bell.html $(azms) \
      $(docdoc_DATA)  $(man_MANS)

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

.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 $< > $@

.1.txt:
	$(TROFF) -t -e -mandoc -Tascii $< | $(COL) -bx > $@

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

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

zum: zum.html

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

zoem: zoem.1 zoem.html zoem.ps

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