[61653f2] | 1 | ## Process this file with automake to produce Makefile.in |
---|
| 2 | |
---|
[4b4bd47] | 3 | pkgdocdir = @PKGDOCDIR@ |
---|
[2f0f34d] | 4 | |
---|
[1016343] | 5 | other_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] | 9 | manual_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. |
---|
[b8bf5bc] | 18 | EXTRA_DIST = manual $(HTMLFILES) $(DOCS_OTHER)\ |
---|
[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\ |
---|
[cf58e98] | 26 | man_print.ini.sgml man_svxedit.sgml news2html.pl\ |
---|
[b8bf5bc] | 27 | version.ent |
---|
[6c7fbd5] | 28 | |
---|
[0e26b3a] | 29 | NEWS.htm: ../NEWS |
---|
| 30 | ./news2html.pl '@PRETTYPACKAGE@ @VERSION@' < ../NEWS > NEWS.htm |
---|
[6c7fbd5] | 31 | |
---|
[0e26b3a] | 32 | OLDNEWS.htm: ../OLDNEWS |
---|
| 33 | ./news2html.pl < ../OLDNEWS > OLDNEWS.htm |
---|
[61653f2] | 34 | |
---|
[eb2a79c] | 35 | MAINTAINERCLEANFILES = @DOCS_OTHER@ $(other_mans)\ |
---|
[c746b4d] | 36 | ChngeLog.htm NEWS.htm OLDNEWS.htm |
---|
[61653f2] | 37 | |
---|
[decac1a] | 38 | pkgdoc_DATA = @HTMLFILES@ @DOCS_OTHER@ |
---|
[61653f2] | 39 | |
---|
[c71559e] | 40 | man_MANS = survex.7 $(other_mans) |
---|
[06912e7] | 41 | |
---|
[4f222d2] | 42 | aven.1: $(srcdir)/aven.sgml $(srcdir)/man_aven.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 43 | docbook-to-man $(srcdir)/man_aven.sgml > aven.tmp |
---|
| 44 | mv aven.tmp aven.1 |
---|
[6eadc5b] | 45 | |
---|
[4f222d2] | 46 | cad3d.1: $(srcdir)/cad3d.sgml $(srcdir)/man_cad3d.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 47 | docbook-to-man $(srcdir)/man_cad3d.sgml > cad3d.tmp |
---|
| 48 | mv cad3d.tmp cad3d.1 |
---|
[6eadc5b] | 49 | |
---|
[4f222d2] | 50 | cavern.1: $(srcdir)/cavern.sgml $(srcdir)/man_cavern.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 51 | docbook-to-man $(srcdir)/man_cavern.sgml > cavern.tmp |
---|
| 52 | mv cavern.tmp cavern.1 |
---|
[6eadc5b] | 53 | |
---|
[4f222d2] | 54 | caverot.1: $(srcdir)/caverot.sgml $(srcdir)/man_caverot.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 55 | docbook-to-man $(srcdir)/man_caverot.sgml > caverot.tmp |
---|
| 56 | mv caverot.tmp caverot.1 |
---|
[6eadc5b] | 57 | |
---|
[4f222d2] | 58 | diffpos.1: $(srcdir)/diffpos.sgml $(srcdir)/man_diffpos.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 59 | docbook-to-man $(srcdir)/man_diffpos.sgml > diffpos.tmp |
---|
| 60 | mv diffpos.tmp diffpos.1 |
---|
[6eadc5b] | 61 | |
---|
[4f222d2] | 62 | extend.1: $(srcdir)/extend.sgml $(srcdir)/man_extend.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 63 | docbook-to-man $(srcdir)/man_extend.sgml > extend.tmp |
---|
| 64 | mv extend.tmp extend.1 |
---|
[6eadc5b] | 65 | |
---|
[4f222d2] | 66 | printdm.1: $(srcdir)/printdm.sgml $(srcdir)/man_printdm.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 67 | docbook-to-man $(srcdir)/man_printdm.sgml > printdm.tmp |
---|
| 68 | mv printdm.tmp printdm.1 |
---|
[6eadc5b] | 69 | |
---|
[4f222d2] | 70 | printhpgl.1: $(srcdir)/printhpgl.sgml $(srcdir)/man_printhpgl.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 71 | docbook-to-man $(srcdir)/man_printhpgl.sgml > printhpgl.tmp |
---|
| 72 | mv printhpgl.tmp printhpgl.1 |
---|
[6eadc5b] | 73 | |
---|
[4f222d2] | 74 | printpcl.1: $(srcdir)/printpcl.sgml $(srcdir)/man_printpcl.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 75 | docbook-to-man $(srcdir)/man_printpcl.sgml > printpcl.tmp |
---|
| 76 | mv printpcl.tmp printpcl.1 |
---|
[6eadc5b] | 77 | |
---|
[4f222d2] | 78 | printps.1: $(srcdir)/printps.sgml $(srcdir)/man_printps.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 79 | docbook-to-man $(srcdir)/man_printps.sgml > printps.tmp |
---|
| 80 | mv printps.tmp printps.1 |
---|
[6eadc5b] | 81 | |
---|
[4f222d2] | 82 | sorterr.1: $(srcdir)/sorterr.sgml $(srcdir)/man_sorterr.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 83 | docbook-to-man $(srcdir)/man_sorterr.sgml > sorterr.tmp |
---|
| 84 | mv sorterr.tmp sorterr.1 |
---|
[6eadc5b] | 85 | |
---|
[4f222d2] | 86 | 3dtopos.1: $(srcdir)/3dtopos.sgml $(srcdir)/man_3dtopos.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 87 | docbook-to-man $(srcdir)/man_3dtopos.sgml > 3dtopos.tmp |
---|
| 88 | mv 3dtopos.tmp 3dtopos.1 |
---|
[6eadc5b] | 89 | |
---|
[4f222d2] | 90 | xcaverot.1: $(srcdir)/xcaverot.sgml $(srcdir)/man_xcaverot.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 91 | docbook-to-man $(srcdir)/man_xcaverot.sgml > xcaverot.tmp |
---|
| 92 | mv xcaverot.tmp xcaverot.1 |
---|
[06912e7] | 93 | |
---|
[750a2dd] | 94 | svxedit.1: $(srcdir)/svxedit.sgml $(srcdir)/man_svxedit.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 95 | docbook-to-man $(srcdir)/man_svxedit.sgml > svxedit.tmp |
---|
| 96 | mv svxedit.tmp svxedit.1 |
---|
[750a2dd] | 97 | |
---|
[01f3cc6] | 98 | print.ini.5: $(srcdir)/print.ini.sgml $(srcdir)/man_print.ini.sgml $(srcdir)/survex.ent |
---|
[837ff43] | 99 | docbook-to-man $(srcdir)/man_print.ini.sgml > print.ini.tmp |
---|
| 100 | mv print.ini.tmp print.ini.5 |
---|
[01f3cc6] | 101 | |
---|
[bc15c5f] | 102 | install-data-local: manual |
---|
[8f2c870] | 103 | $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/manual |
---|
| 104 | test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \ |
---|
| 105 | for p in manual/*.htm manual/*.png ; do \ |
---|
| 106 | echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p"; \ |
---|
| 107 | $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdocdir)/$$p; \ |
---|
| 108 | done |
---|
[891796e] | 109 | |
---|
[de7f78c] | 110 | uninstall-local: |
---|
[8f2c870] | 111 | test ! -d manual -a -d "$(srcdir)/manual" && cd $(srcdir) ; \ |
---|
| 112 | for p in manual/*.htm manual/*.png ; do \ |
---|
| 113 | echo " rm -f $(DESTDIR)$(pkgdocdir)/$$p"; \ |
---|
| 114 | rm -f $(DESTDIR)$(pkgdocdir)/$$p; \ |
---|
| 115 | done |
---|
[68927735] | 116 | -rmdir $(DESTDIR)$(pkgdocdir)/manual |
---|
[de7f78c] | 117 | |
---|
[c746b4d] | 118 | maintainer-clean-local: |
---|
[40cb08b] | 119 | rm -rf manual "$(srcdir)/manual" |
---|
[c746b4d] | 120 | |
---|
[a5d0c88] | 121 | # manual, etc depend on configure.in so they get rebuilt when the |
---|
| 122 | # version number is bumped |
---|
[ce34bd5] | 123 | |
---|
[08c50e5] | 124 | manual: manual/stampfile |
---|
| 125 | manual/stampfile: $(manual_sources) custom.dsl survex.ent ../configure.in |
---|
[a5d0c88] | 126 | @sgmltools@ --backend=html --dsssl-spec='custom.dsl#html' manual.sgml |
---|
| 127 | cp caution.png note.png manual |
---|
[08c50e5] | 128 | touch manual/stampfile |
---|
[61653f2] | 129 | |
---|
[bc15c5f] | 130 | # this rule is not used by the build system - it's for "manual" use (ho ho) |
---|
[a5d0c88] | 131 | manual.html: $(manual_sources) custom.dsl survex.ent ../configure.in |
---|
[634a883] | 132 | @sgmltools@ --backend=onehtml \ |
---|
[a5d0c88] | 133 | --dsssl-spec='custom.dsl#onehtml' manual.sgml |
---|
[61653f2] | 134 | |
---|
[a5d0c88] | 135 | manual.rtf: $(manual_sources) survex.ent ../configure.in |
---|
[4a394fc] | 136 | @sgmltools@ --backend=rtf manual.sgml |
---|
[61653f2] | 137 | |
---|
[a5d0c88] | 138 | manual.txt: $(manual_sources) survex.ent ../configure.in |
---|
[4a394fc] | 139 | @sgmltools@ --backend=txt manual.sgml |
---|
[788ed2e] | 140 | |
---|
[a5d0c88] | 141 | manual.ps: $(manual_sources) survex.ent ../configure.in |
---|
[4a394fc] | 142 | @sgmltools@ --backend=ps manual.sgml |
---|
[df9cda4] | 143 | |
---|
| 144 | CLEANFILES = usr |
---|