3 EXTRA_DIST = README.jaxp texi2pod.pl $(man_MANS)
5 ## GCJ LOCAL: we don't want to install all of Classpath's info files.
6 ## info_TEXINFOS = cp-hacking.texinfo cp-vmintegration.texinfo cp-tools.texinfo
7 TEXINFO_TEX = ../../gcc/doc/include/texinfo.tex
8 info_TEXINFOS = cp-tools.texinfo
16 docs: cp-hacking.ps cp-vmintegration.ps cp-tools.ps $(TOOLS_MANFILES)
18 man_MANS = $(TOOLS_MANFILES)
34 POD2MAN = pod2man --center="GNU" --release="$(VERSION)" --date=$(shell sed -n '1s/ .*//p' <$(srcdir)/../ChangeLog)
35 TEXI2POD = perl $(srcdir)/texi2pod.pl
36 STAMP = echo timestamp >
40 -($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
41 mv -f $(@).T$$$$ $@) || \
42 (rm -f $(@).T$$$$ && exit 1)
44 .INTERMEDIATE: gappletviewer.pod gjarsigner.pod gjar.pod gjavah.pod \
45 gkeytool.pod gnative2ascii.pod gorbd.pod grmid.pod grmiregistry.pod \
46 gserialver.pod gtnameserv.pod gcjh.pod gjdoc.pod
48 gappletviewer.pod: $(srcdir)/cp-tools.texinfo
49 -$(TEXI2POD) -D gappletviewer < $< > $@
51 gjarsigner.pod: $(srcdir)/cp-tools.texinfo
52 -$(TEXI2POD) -D gjarsigner < $< > $@
54 gjar.pod: $(srcdir)/cp-tools.texinfo
55 -$(TEXI2POD) -D gjar < $< > $@
57 gcjh.pod: $(srcdir)/cp-tools.texinfo
58 -$(TEXI2POD) -D gcjh < $< > $@
60 gjavah.pod: $(srcdir)/cp-tools.texinfo
61 -$(TEXI2POD) -D gjavah < $< > $@
63 # hack around the cross references and the enumeration
64 gkeytool.pod: $(srcdir)/cp-tools.texinfo
65 -$(TEXI2POD) -D gkeytool < $< \
66 | sed -e 's/^For more details.*/See I<Common Options> for more details./' \
67 -e 's/1\.<\([^>]*\)>/- \1/' \
70 gnative2ascii.pod: $(srcdir)/cp-tools.texinfo
71 -$(TEXI2POD) -D gnative2ascii < $< > $@
73 gorbd.pod: $(srcdir)/cp-tools.texinfo
74 -$(TEXI2POD) -D gorbd < $< > $@
76 grmid.pod: $(srcdir)/cp-tools.texinfo
77 -$(TEXI2POD) -D grmid < $< > $@
79 grmiregistry.pod: $(srcdir)/cp-tools.texinfo
80 -$(TEXI2POD) -D grmiregistry < $< > $@
82 gserialver.pod: $(srcdir)/cp-tools.texinfo
83 -$(TEXI2POD) -D gserialver < $< > $@
85 gtnameserv.pod: $(srcdir)/cp-tools.texinfo
86 -$(TEXI2POD) -D gtnameserv < $< > $@
88 gjdoc.pod: $(srcdir)/cp-tools.texinfo
89 -$(TEXI2POD) -D gjdoc < $< > $@
92 #CLEANFILES = $(TOOLS_MANFILES)
95 # The following commands allow us to release tarballs with the man pages
96 # and info documentation prebuilt. This feature is enabled via
97 # --enable-generated-files-in-srcdir in the configure script.
100 STAMP_GENINSRC = stamp-geninsrc
105 all-local: $(STAMP_GENINSRC)
107 stamp-geninsrc: $(TOOLS_MANFILES) cp-tools.info
108 -cp -p gappletviewer.1 $(srcdir)/gappletviewer.1
109 -cp -p gjar.1 $(srcdir)/gjar.1
110 -cp -p gjarsigner.1 $(srcdir)/gjarsigner.1
111 -cp -p gjavah.1 $(srcdir)/gjavah.1
112 -cp -p gjdoc.1 $(srcdir)/gjdoc.1
113 -cp -p gkeytool.1 $(srcdir)/gkeytool.1
114 -cp -p gnative2ascii.1 $(srcdir)/gnative2ascii.1
115 -cp -p gorbd.1 $(srcdir)/gorbd.1
116 -cp -p grmid.1 $(srcdir)/grmid.1
117 -cp -p grmiregistry.1 $(srcdir)/grmiregistry.1
118 -cp -p gserialver.1 $(srcdir)/gserialver.1
119 -cp -p gtnameserv.1 $(srcdir)/gtnameserv.1
120 -cp -p cp-tools.info $(srcdir)/cp-tools.info
123 CLEANFILES = stamp-geninsrc cp-tools.info
124 MAINTAINERCLEANFILES = \
125 $(srcdir)/gappletviewer.1 \
127 $(srcdir)/gjarsigner.1 \
130 $(srcdir)/gkeytool.1 \
131 $(srcdir)/gnative2ascii.1 \
134 $(srcdir)/grmiregistry.1 \
135 $(srcdir)/gserialver.1 \
136 $(srcdir)/gtnameserv.1 \
137 $(srcdir)/cp-tools.info