source: git/doc/Makefile.am @ e7c04bc

RELEASE/1.0
Last change on this file since e7c04bc was 168df28, checked in by Olly Betts <olly@…>, 19 years ago

Backport a whole pile of fixes and minor tweaks from 1.1.7.

git-svn-id: file:///home/survex-svn/survex/trunk@3114 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[61653f2]1## Process this file with automake to produce Makefile.in
2
[4b4bd47]3pkgdocdir = @PKGDOCDIR@
[2f0f34d]4
[1016343]5other_mans = cad3d.1 cavern.1 diffpos.1 extend.1 sorterr.1 3dtopos.1 \
[168df28]6 printdm.1 printhpgl.1 printpcl.1 printps.1 @EXTRA_MANS@ \
7 print.ini.5 svxedit.1
[88171f5]8
[467cb61]9manual_sources = manual.sgml cad3d.sgml cavern.sgml\
10 diffpos.sgml extend.sgml sorterr.sgml 3dtopos.sgml aven.sgml\
11 caverot.sgml xcaverot.sgml\
[2e98671]12 printdm.sgml printhpgl.sgml printpcl.sgml printps.sgml printwin.sgml\
[750a2dd]13 print.ini.sgml svxedit.sgml
[6eadc5b]14
[647407d]15# People can build from CVS without sgmltools v2 or v3 installed but they
[fa42426]16# won't be able to "make dist", which is arguably a good thing - we don't
17# want tarballs accidentally lacking the documentation.
[467cb61]18EXTRA_DIST = manual $(HTMLFILES) $(DOCS_OTHER) survex.1.in index.htm.in\
[6eadc5b]19 custom.dsl survex.ent\
20 caution.png note.png\
[d9c2cce]21 $(manual_sources) $(other_mans)\
[87681b8]22 man_3dtopos.sgml man_aven.sgml man_cad3d.sgml man_cavern.sgml\
[467cb61]23 man_diffpos.sgml man_extend.sgml man_sorterr.sgml\
24 man_xcaverot.sgml\
[2e98671]25 man_printdm.sgml man_printhpgl.sgml man_printpcl.sgml man_printps.sgml\
[750a2dd]26 man_print.ini.sgml man_svxedit.sgml cl2html.pl news2html.pl\
27 version.ent version.ent.in
[6c7fbd5]28
[0e26b3a]29ChngeLog.htm: ../ChangeLog
30        ./cl2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../ChangeLog > ChngeLog.htm
[6c7fbd5]31
[0e26b3a]32NEWS.htm: ../NEWS
33        ./news2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../NEWS > NEWS.htm
[6c7fbd5]34
[0e26b3a]35OLDNEWS.htm: ../OLDNEWS
36        ./news2html.pl < ../OLDNEWS > OLDNEWS.htm
[61653f2]37
[eb2a79c]38MAINTAINERCLEANFILES = @DOCS_OTHER@ $(other_mans)\
[c746b4d]39 ChngeLog.htm NEWS.htm OLDNEWS.htm
[61653f2]40
[decac1a]41pkgdoc_DATA = @HTMLFILES@ @DOCS_OTHER@
[61653f2]42
[06912e7]43man_MANS = survex.1 $(other_mans)
44
[4f222d2]45aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent
46        docbook-to-man $(srcdir)/man_aven.sgml > aven.1
[6eadc5b]47
[4f222d2]48cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent
49        docbook-to-man $(srcdir)/man_cad3d.sgml > cad3d.1
[6eadc5b]50
[4f222d2]51cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent
52        docbook-to-man $(srcdir)/man_cavern.sgml > cavern.1
[6eadc5b]53
[4f222d2]54caverot.1: $(srcdir)/caverot.sgml $(srcdir)/man_caverot.sgml $(srcdir)/survex.ent
55        docbook-to-man $(srcdir)/man_caverot.sgml > caverot.1
[6eadc5b]56
[4f222d2]57diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent
58        docbook-to-man $(srcdir)/man_diffpos.sgml > diffpos.1
[6eadc5b]59
[4f222d2]60extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent
61        docbook-to-man $(srcdir)/man_extend.sgml > extend.1
[6eadc5b]62
[4f222d2]63printdm.1: $(srcdir)/printdm.sgml $(srcdir)/man_printdm.sgml $(srcdir)/survex.ent
64        docbook-to-man $(srcdir)/man_printdm.sgml > printdm.1
[6eadc5b]65
[4f222d2]66printhpgl.1: $(srcdir)/printhpgl.sgml $(srcdir)/man_printhpgl.sgml $(srcdir)/survex.ent
67        docbook-to-man $(srcdir)/man_printhpgl.sgml > printhpgl.1
[6eadc5b]68
[4f222d2]69printpcl.1: $(srcdir)/printpcl.sgml $(srcdir)/man_printpcl.sgml $(srcdir)/survex.ent
70        docbook-to-man $(srcdir)/man_printpcl.sgml > printpcl.1
[6eadc5b]71
[4f222d2]72printps.1: $(srcdir)/printps.sgml $(srcdir)/man_printps.sgml $(srcdir)/survex.ent
73        docbook-to-man $(srcdir)/man_printps.sgml > printps.1
[6eadc5b]74
[4f222d2]75sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent
76        docbook-to-man $(srcdir)/man_sorterr.sgml > sorterr.1
[6eadc5b]77
[4f222d2]783dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent
79        docbook-to-man $(srcdir)/man_3dtopos.sgml > 3dtopos.1
[6eadc5b]80
[4f222d2]81xcaverot.1: $(srcdir)/xcaverot.sgml $(srcdir)/man_xcaverot.sgml $(srcdir)/survex.ent
82        docbook-to-man $(srcdir)/man_xcaverot.sgml > xcaverot.1
[06912e7]83
[750a2dd]84svxedit.1: $(srcdir)/svxedit.sgml $(srcdir)/man_svxedit.sgml $(srcdir)/survex.ent
85        docbook-to-man $(srcdir)/man_svxedit.sgml > svxedit.1
86
[01f3cc6]87print.ini.5: $(srcdir)/print.ini.sgml $(srcdir)/man_print.ini.sgml $(srcdir)/survex.ent
88        docbook-to-man $(srcdir)/man_print.ini.sgml > print.ini.5
89
[bc15c5f]90install-data-local: manual
[8f2c870]91        $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/manual
92        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
93        for p in manual/*.htm manual/*.png ; do \
94          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p"; \
95          $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p; \
96        done
[891796e]97
[de7f78c]98uninstall-local:
[8f2c870]99        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
100        for p in manual/*.htm manual/*.png ; do \
101          echo " rm -f $(DESTDIR)$(pkgdocdir)/$$p"; \
102          rm -f $(DESTDIR)$(pkgdocdir)/$$p; \
103        done
[68927735]104        -rmdir $(DESTDIR)$(pkgdocdir)/manual
[de7f78c]105
[c746b4d]106maintainer-clean-local:
[40cb08b]107        rm -rf manual "$(srcdir)/manual"
[c746b4d]108
[a5d0c88]109# manual, etc depend on configure.in so they get rebuilt when the
110# version number is bumped
[ce34bd5]111
[a5d0c88]112manual: $(manual_sources) custom.dsl survex.ent ../configure.in
113        @sgmltools@ --backend=html --dsssl-spec='custom.dsl#html' manual.sgml
114        cp caution.png note.png manual
[61653f2]115
[bc15c5f]116# this rule is not used by the build system - it's for "manual" use (ho ho)
[a5d0c88]117manual.html: $(manual_sources) custom.dsl survex.ent ../configure.in
[634a883]118        @sgmltools@ --backend=onehtml \
[a5d0c88]119                --dsssl-spec='custom.dsl#onehtml' manual.sgml
[61653f2]120
[a5d0c88]121manual.rtf: $(manual_sources) survex.ent ../configure.in
[4a394fc]122        @sgmltools@ --backend=rtf manual.sgml
[61653f2]123
[a5d0c88]124manual.txt: $(manual_sources) survex.ent ../configure.in
[4a394fc]125        @sgmltools@ --backend=txt manual.sgml
[788ed2e]126
[a5d0c88]127manual.ps: $(manual_sources) survex.ent ../configure.in
[4a394fc]128        @sgmltools@ --backend=ps manual.sgml
[df9cda4]129
130CLEANFILES = usr
Note: See TracBrowser for help on using the repository browser.