source: git/doc/Makefile.am @ 9c6aff8

RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 9c6aff8 was eda91a1, checked in by Olly Betts <olly@…>, 9 years ago

Add man page for dump3d

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[61653f2]1## Process this file with automake to produce Makefile.in
2
[4b4bd47]3pkgdocdir = @PKGDOCDIR@
[2f0f34d]4
[eda91a1]5other_mans = cad3d.1 cavern.1 diffpos.1 dump3d.1 extend.1 sorterr.1 3dtopos.1 \
[2868e97]6 aven.1
[88171f5]7
[6e420ba]8manual_sources = manual.sgml cad3d.sgml cavern.sgml\
[eda91a1]9 diffpos.sgml dump3d.sgml extend.sgml sorterr.sgml 3dtopos.sgml aven.sgml
[6eadc5b]10
[7f24541]11manual_alt = manual.txt manual.pdf
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.
[c88a040]16EXTRA_DIST = $(HTMLFILES) manual $(manual_alt)\
[6eadc5b]17 custom.dsl survex.ent\
18 caution.png note.png\
[d9c2cce]19 $(manual_sources) $(other_mans)\
[87681b8]20 man_3dtopos.sgml man_aven.sgml man_cad3d.sgml man_cavern.sgml\
[eda91a1]21 man_diffpos.sgml man_dump3d.sgml man_extend.sgml man_sorterr.sgml\
[2868e97]22 news2html.pl
[6c7fbd5]23
[920b066]24NEWS.htm: ../NEWS news2html.pl
[0e26b3a]25        ./news2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../NEWS > NEWS.htm
[6c7fbd5]26
[920b066]27OLDNEWS.htm: ../OLDNEWS news2html.pl
[0e26b3a]28        ./news2html.pl < ../OLDNEWS > OLDNEWS.htm
[61653f2]29
[7f24541]30MAINTAINERCLEANFILES = $(manual_alt) $(other_mans) NEWS.htm OLDNEWS.htm
[61653f2]31
[7f24541]32pkgdoc_DATA = @HTMLFILES@ $(manual_alt)
[61653f2]33
[04aa63b]34man_MANS = survex.7 $(other_mans)
[06912e7]35
[4f222d2]36aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent
[2a9c909]37        $(DOCBOOK2MAN) $(srcdir)/man_aven.sgml
38        rm -f manpage.links manpage.refs
[6eadc5b]39
[4f222d2]40cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent
[2a9c909]41        $(DOCBOOK2MAN) $(srcdir)/man_cad3d.sgml
42        rm -f manpage.links manpage.refs
[6eadc5b]43
[4f222d2]44cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent
[2a9c909]45        $(DOCBOOK2MAN) $(srcdir)/man_cavern.sgml
46        rm -f manpage.links manpage.refs
[6eadc5b]47
[4f222d2]48diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent
[2a9c909]49        $(DOCBOOK2MAN) $(srcdir)/man_diffpos.sgml
50        rm -f manpage.links manpage.refs
[6eadc5b]51
[eda91a1]52dump3d.1: $(srcdir)/dump3d.sgml $(srcdir)/man_dump3d.sgml $(srcdir)/survex.ent
53        $(DOCBOOK2MAN) $(srcdir)/man_dump3d.sgml
54        rm -f manpage.links manpage.refs
55
[4f222d2]56extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent
[2a9c909]57        $(DOCBOOK2MAN) $(srcdir)/man_extend.sgml
58        rm -f manpage.links manpage.refs
[6eadc5b]59
[4f222d2]60sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent
[2a9c909]61        $(DOCBOOK2MAN) $(srcdir)/man_sorterr.sgml
62        rm -f manpage.links manpage.refs
[6eadc5b]63
[4f222d2]643dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent
[2a9c909]65        $(DOCBOOK2MAN) $(srcdir)/man_3dtopos.sgml
66        rm -f manpage.links manpage.refs
[6eadc5b]67
[bc15c5f]68install-data-local: manual
[8f2c870]69        $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/manual
70        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
71        for p in manual/*.htm manual/*.png ; do \
72          echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p"; \
73          $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p; \
74        done
[891796e]75
[de7f78cc]76uninstall-local:
[8f2c870]77        test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \
78        for p in manual/*.htm manual/*.png ; do \
79          echo " rm -f $(DESTDIR)$(pkgdocdir)/$$p"; \
80          rm -f $(DESTDIR)$(pkgdocdir)/$$p; \
81        done
[68927735]82        -rmdir $(DESTDIR)$(pkgdocdir)/manual
[de7f78cc]83
[c746b4d]84maintainer-clean-local:
[40cb08b]85        rm -rf manual "$(srcdir)/manual"
[c746b4d]86
[147b12b]87# manual, etc depend on configure.ac so they get rebuilt when the
[a5d0c88]88# version number is bumped
[ce34bd5]89
[c88a040]90manual: manual/stampfile
[147b12b]91manual/stampfile: $(manual_sources) custom.dsl survex.ent ../configure.ac
[ec84716]92        $(SGMLTOOLS) --backend=html --dsssl-spec='custom.dsl#html' manual.sgml
[a5d0c88]93        cp caution.png note.png manual
[c88a040]94        touch manual/stampfile
[61653f2]95
[147b12b]96manual.txt: $(manual_sources) survex.ent ../configure.ac
[0fd6750]97        $(SGMLTOOLS) --backend=txt manual.sgml
98
[147b12b]99manual.pdf: $(manual_sources) survex.ent ../configure.ac
[0fd6750]100        $(SGMLTOOLS) --backend=ps manual.sgml
101        ps2pdf manual.ps manual.pdf
102        rm manual.ps
103
104# The rules below aren't used by the build system - they're for "manual" use
105# (ho ho)
106
[147b12b]107manual.html: $(manual_sources) custom.dsl survex.ent ../configure.ac
[ec84716]108        $(SGMLTOOLS) --backend=onehtml \
[a5d0c88]109                --dsssl-spec='custom.dsl#onehtml' manual.sgml
[61653f2]110
[147b12b]111manual.rtf: $(manual_sources) survex.ent ../configure.ac
[ec84716]112        $(SGMLTOOLS) --backend=rtf manual.sgml
[61653f2]113
[147b12b]114manual.ps: $(manual_sources) survex.ent ../configure.ac
[ec84716]115        $(SGMLTOOLS) --backend=ps manual.sgml
[2934e83]116
117CLEANFILES = usr
[6af6d51]118
119check-local:
[a3cc8b1]120        grep -F '<!--VERSION-->$(VERSION)' '$(srcdir)/manual.sgml'
Note: See TracBrowser for help on using the repository browser.