source: git/doc/Makefile.am @ 920b066

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since 920b066 was 920b066, checked in by Olly Betts <olly@…>, 17 years ago

NEWS,configure.in: Update for 1.1.11.
NEWS,OLDNEWS: Move entries prior to 1.1.0 to OLDNEWS.
doc/Makefile.am: NEWS and OLDNEWS depend on news2html.pl.
doc/news2html.pl: Tweak to understand nested lists in NEWS file.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3316 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.
[f665d6e]16EXTRA_DIST = manual $(HTMLFILES) $(DOCS_OTHER) survex.1.in index.htm.in\
[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\
[91c4249]21 man_diffpos.sgml man_extend.sgml man_sorterr.sgml\
[27b8b59]22 man_print.ini.sgml man_svxedit.sgml cl2html.pl news2html.pl\
23 version.ent version.ent.in
[6c7fbd5]24
[0e26b3a]25ChngeLog.htm: ../ChangeLog
26        ./cl2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../ChangeLog > ChngeLog.htm
[6c7fbd5]27
[920b066]28NEWS.htm: ../NEWS news2html.pl
[0e26b3a]29        ./news2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../NEWS > NEWS.htm
[6c7fbd5]30
[920b066]31OLDNEWS.htm: ../OLDNEWS news2html.pl
[0e26b3a]32        ./news2html.pl < ../OLDNEWS > OLDNEWS.htm
[61653f2]33
[eb2a79c]34MAINTAINERCLEANFILES = @DOCS_OTHER@ $(other_mans)\
[c746b4d]35 ChngeLog.htm NEWS.htm OLDNEWS.htm
[61653f2]36
[b462168]37pkgdoc_DATA = @HTMLFILES@ @DOCS_OTHER@
[61653f2]38
[06912e7]39man_MANS = survex.1 $(other_mans)
40
[4f222d2]41aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent
[84d66990]42        $(DOCBOOK_TO_MAN) $(srcdir)/man_aven.sgml > aven.1
[6eadc5b]43
[4f222d2]44cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent
[84d66990]45        $(DOCBOOK_TO_MAN) $(srcdir)/man_cad3d.sgml > cad3d.1
[6eadc5b]46
[4f222d2]47cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent
[84d66990]48        $(DOCBOOK_TO_MAN) $(srcdir)/man_cavern.sgml > cavern.1
[6eadc5b]49
[4f222d2]50diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent
[84d66990]51        $(DOCBOOK_TO_MAN) $(srcdir)/man_diffpos.sgml > diffpos.1
[6eadc5b]52
[4f222d2]53extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent
[84d66990]54        $(DOCBOOK_TO_MAN) $(srcdir)/man_extend.sgml > extend.1
[6eadc5b]55
[4f222d2]56sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent
[84d66990]57        $(DOCBOOK_TO_MAN) $(srcdir)/man_sorterr.sgml > sorterr.1
[6eadc5b]58
[4f222d2]593dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent
[84d66990]60        $(DOCBOOK_TO_MAN) $(srcdir)/man_3dtopos.sgml > 3dtopos.1
[6eadc5b]61
[27b8b59]62svxedit.1: $(srcdir)/svxedit.sgml $(srcdir)/man_svxedit.sgml $(srcdir)/survex.ent
[84d66990]63        $(DOCBOOK_TO_MAN) $(srcdir)/man_svxedit.sgml > svxedit.1
[27b8b59]64
[01f3cc6]65print.ini.5: $(srcdir)/print.ini.sgml $(srcdir)/man_print.ini.sgml $(srcdir)/survex.ent
[84d66990]66        $(DOCBOOK_TO_MAN) $(srcdir)/man_print.ini.sgml > print.ini.5
[01f3cc6]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
[de7f78c]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
[de7f78c]83
[c746b4d]84maintainer-clean-local:
[40cb08b]85        rm -rf manual "$(srcdir)/manual"
[c746b4d]86
[a5d0c88]87# manual, etc depend on configure.in so they get rebuilt when the
88# version number is bumped
[ce34bd5]89
[a5d0c88]90manual: $(manual_sources) custom.dsl survex.ent ../configure.in
[ec84716]91        $(SGMLTOOLS) --backend=html --dsssl-spec='custom.dsl#html' manual.sgml
[a5d0c88]92        cp caution.png note.png manual
[61653f2]93
[bc15c5f]94# this rule is not used by the build system - it's for "manual" use (ho ho)
[a5d0c88]95manual.html: $(manual_sources) custom.dsl survex.ent ../configure.in
[ec84716]96        $(SGMLTOOLS) --backend=onehtml \
[a5d0c88]97                --dsssl-spec='custom.dsl#onehtml' manual.sgml
[61653f2]98
[a5d0c88]99manual.rtf: $(manual_sources) survex.ent ../configure.in
[ec84716]100        $(SGMLTOOLS) --backend=rtf manual.sgml
[61653f2]101
[a5d0c88]102manual.txt: $(manual_sources) survex.ent ../configure.in
[ec84716]103        $(SGMLTOOLS) --backend=txt manual.sgml
[788ed2e]104
[a5d0c88]105manual.ps: $(manual_sources) survex.ent ../configure.in
[ec84716]106        $(SGMLTOOLS) --backend=ps manual.sgml
[2934e83]107
108CLEANFILES = usr
Note: See TracBrowser for help on using the repository browser.