source: git/doc/Makefile.am @ e4bfd2f

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
Last change on this file since e4bfd2f was 0fd6750, checked in by Olly Betts <olly@…>, 14 years ago

Makefile.am,configure.in,doc/Makefile.am,make_release: Scrap the
"alternative manual formats" zip file - people will generally just
want one of them, so downloading several together isn't very useful.
Replace PostScript? version of manual with a PDF version (more
compact and more people will have software to read PDF). Don't
generate RTF format by default as PDF is more useful if you want
a formatted version to print.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3429 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 3.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 \
[4e8d288]6 aven.1 \
7 print.ini.5 svxedit.1
[88171f5]8
[6e420ba]9manual_sources = manual.sgml cad3d.sgml cavern.sgml\
[91c4249]10 diffpos.sgml extend.sgml sorterr.sgml 3dtopos.sgml aven.sgml\
[27b8b59]11 print.ini.sgml svxedit.sgml
[6eadc5b]12
[647407d]13# People can build from CVS without sgmltools v2 or v3 installed but they
[fa42426]14# won't be able to "make dist", which is arguably a good thing - we don't
15# want tarballs accidentally lacking the documentation.
[0fd6750]16EXTRA_DIST = manual $(HTMLFILES)\
17 manual.txt manual.pdf\
18 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\
[91c4249]23 man_diffpos.sgml man_extend.sgml man_sorterr.sgml\
[0ae292f]24 man_print.ini.sgml man_svxedit.sgml news2html.pl\
[27b8b59]25 version.ent version.ent.in
[6c7fbd5]26
[920b066]27NEWS.htm: ../NEWS news2html.pl
[0e26b3a]28        ./news2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../NEWS > NEWS.htm
[6c7fbd5]29
[920b066]30OLDNEWS.htm: ../OLDNEWS news2html.pl
[0e26b3a]31        ./news2html.pl < ../OLDNEWS > OLDNEWS.htm
[61653f2]32
[eb2a79c]33MAINTAINERCLEANFILES = @DOCS_OTHER@ $(other_mans)\
[0ae292f]34 NEWS.htm OLDNEWS.htm
[61653f2]35
[b462168]36pkgdoc_DATA = @HTMLFILES@ @DOCS_OTHER@
[61653f2]37
[06912e7]38man_MANS = survex.1 $(other_mans)
39
[4f222d2]40aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent
[84d66990]41        $(DOCBOOK_TO_MAN) $(srcdir)/man_aven.sgml > aven.1
[6eadc5b]42
[4f222d2]43cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent
[84d66990]44        $(DOCBOOK_TO_MAN) $(srcdir)/man_cad3d.sgml > cad3d.1
[6eadc5b]45
[4f222d2]46cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent
[84d66990]47        $(DOCBOOK_TO_MAN) $(srcdir)/man_cavern.sgml > cavern.1
[6eadc5b]48
[4f222d2]49diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent
[84d66990]50        $(DOCBOOK_TO_MAN) $(srcdir)/man_diffpos.sgml > diffpos.1
[6eadc5b]51
[4f222d2]52extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent
[84d66990]53        $(DOCBOOK_TO_MAN) $(srcdir)/man_extend.sgml > extend.1
[6eadc5b]54
[4f222d2]55sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent
[84d66990]56        $(DOCBOOK_TO_MAN) $(srcdir)/man_sorterr.sgml > sorterr.1
[6eadc5b]57
[4f222d2]583dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent
[84d66990]59        $(DOCBOOK_TO_MAN) $(srcdir)/man_3dtopos.sgml > 3dtopos.1
[6eadc5b]60
[27b8b59]61svxedit.1: $(srcdir)/svxedit.sgml $(srcdir)/man_svxedit.sgml $(srcdir)/survex.ent
[84d66990]62        $(DOCBOOK_TO_MAN) $(srcdir)/man_svxedit.sgml > svxedit.1
[27b8b59]63
[01f3cc6]64print.ini.5: $(srcdir)/print.ini.sgml $(srcdir)/man_print.ini.sgml $(srcdir)/survex.ent
[84d66990]65        $(DOCBOOK_TO_MAN) $(srcdir)/man_print.ini.sgml > print.ini.5
[01f3cc6]66
[bc15c5f]67install-data-local: manual
[8f2c870]68        $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/manual
69        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
70        for p in manual/*.htm manual/*.png ; do \
71          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p"; \
72          $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p; \
73        done
[891796e]74
[de7f78c]75uninstall-local:
[8f2c870]76        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
77        for p in manual/*.htm manual/*.png ; do \
78          echo " rm -f $(DESTDIR)$(pkgdocdir)/$$p"; \
79          rm -f $(DESTDIR)$(pkgdocdir)/$$p; \
80        done
[68927735]81        -rmdir $(DESTDIR)$(pkgdocdir)/manual
[de7f78c]82
[c746b4d]83maintainer-clean-local:
[40cb08b]84        rm -rf manual "$(srcdir)/manual"
[c746b4d]85
[a5d0c88]86# manual, etc depend on configure.in so they get rebuilt when the
87# version number is bumped
[ce34bd5]88
[a5d0c88]89manual: $(manual_sources) custom.dsl survex.ent ../configure.in
[ec84716]90        $(SGMLTOOLS) --backend=html --dsssl-spec='custom.dsl#html' manual.sgml
[a5d0c88]91        cp caution.png note.png manual
[61653f2]92
[0fd6750]93manual.txt: $(manual_sources) survex.ent ../configure.in
94        $(SGMLTOOLS) --backend=txt manual.sgml
95
96manual.pdf: $(manual_sources) survex.ent ../configure.in
97        $(SGMLTOOLS) --backend=ps manual.sgml
98        ps2pdf manual.ps manual.pdf
99        rm manual.ps
100
101# The rules below aren't used by the build system - they're for "manual" use
102# (ho ho)
103
[a5d0c88]104manual.html: $(manual_sources) custom.dsl survex.ent ../configure.in
[ec84716]105        $(SGMLTOOLS) --backend=onehtml \
[a5d0c88]106                --dsssl-spec='custom.dsl#onehtml' manual.sgml
[61653f2]107
[a5d0c88]108manual.rtf: $(manual_sources) survex.ent ../configure.in
[ec84716]109        $(SGMLTOOLS) --backend=rtf manual.sgml
[61653f2]110
[a5d0c88]111manual.ps: $(manual_sources) survex.ent ../configure.in
[ec84716]112        $(SGMLTOOLS) --backend=ps manual.sgml
[2934e83]113
114CLEANFILES = usr
Note: See TracBrowser for help on using the repository browser.