~ubuntu-branches/ubuntu/hardy/uruk/hardy

« back to all changes in this revision

Viewing changes to man/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2005-10-30 18:44:05 UTC
  • Revision ID: james.westby@ubuntu.com-20051030184405-18qmgrz4vzlw589a
Tags: upstream-20051027
ImportĀ upstreamĀ versionĀ 20051027

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
## this file maintained using arch at http://arch.gna.org/uruk/
 
3
 
 
4
## Copyright (C) 2003 Stichting LogReport Foundation logreport@logreport.org
 
5
## Copyright (C) 2003, 2004 Tilburg University http://www.uvt.nl/
 
6
## Copyright (C) 2003, 2004, 2005 Joost van Baal
 
7
 
 
8
## zoem hacks based upon work by Stijn van Dongen.
 
9
 
 
10
# This script is free software; you can distribute it and/or modify it
 
11
# under the terms of the GNU GPL.  See the file COPYING.
 
12
 
 
13
TROFF = groff
 
14
COL = col
 
15
 
 
16
## Zoem is a an interpretive macro language, for creating mark-up languages, by
 
17
## Stijn van Dongen. Information about zoem can be found on the zoem webpage at
 
18
## http://micans.org/zoem/ .
 
19
ZOEM = zoem
 
20
 
 
21
## tidy is a HTML syntax checker and reformatter, available from
 
22
## http://www.w3.org/People/Raggett/tidy/ , by Dave Raggett <dsr@w3.org>
 
23
TIDY = tidy -quiet
 
24
 
 
25
## http://w3m.sourceforge.net/
 
26
## w3m is a text-based web browser, which can be used as a text formatting tool
 
27
## which typesets HTML into plain text.
 
28
W3M = w3m
 
29
 
 
30
azms = uruk-rc.azm uruk-save.azm uruk.azm
 
31
typetargets = uruk-rc.html uruk-rc.ps uruk-rc.txt \
 
32
  uruk-save.html uruk-save.ps uruk-save.txt uruk.html uruk.ps uruk.txt
 
33
tmpfiles = uruk-rc.zmt uruk-rc.zmr uruk-save.zmt uruk-save.zmr \
 
34
  uruk.zmt uruk.zmr
 
35
 
 
36
doc_DATA = $(typetargets) $(azms)
 
37
man_MANS = uruk.8 uruk-rc.5 uruk-save.8
 
38
 
 
39
EXTRA_DIST = $(azms)
 
40
DISTCLEANFILES = $(man_MANS) $(typetargets) $(tmpfiles)
 
41
 
 
42
VERSION = @PACKAGE_VERSION@
 
43
PACKAGE = @PACKAGE_TARNAME@
 
44
 
 
45
docdir = $(datadir)/doc/$(PACKAGE)
 
46
 
 
47
SUFFIXES = .5 .8 .html .azm .ps .txt
 
48
 
 
49
.azm.5:
 
50
        $(ZOEM) -d roff -i $< -o $@
 
51
        $(ZOEM) -d roff -i $< -o $@
 
52
 
 
53
.azm.8:
 
54
        $(ZOEM) -d roff -i $< -o $@
 
55
        $(ZOEM) -d roff -i $< -o $@
 
56
 
 
57
.5.ps:
 
58
        $(TROFF) -man $< > $@
 
59
 
 
60
.8.ps:
 
61
        $(TROFF) -man $< > $@
 
62
 
 
63
.azm.html:
 
64
        $(ZOEM) -d html -i $< -o $@
 
65
        $(ZOEM) -d html -i $< -o $@
 
66
##      - $(TIDY) -e $@
 
67
 
 
68
## .html.txt:
 
69
##      $(W3M) -dump $< > $@
 
70
 
 
71
.5.txt:
 
72
        $(TROFF) -t -e -mandoc -Tlatin1 $< | $(COL) -bxp > $@
 
73
 
 
74
.8.txt:
 
75
        $(TROFF) -t -e -mandoc -Tlatin1 $< | $(COL) -bxp > $@
 
76