Manual now gets installed correctly by make install. Problems: clean / uninstall don't work.

Original commit message from CVS:
Manual now gets installed correctly by make install.  Problems:
clean / uninstall don't work.
make dist not tested.
pdf manual doesn't have images.
This commit is contained in:
Richard Boulton 2000-10-12 08:43:03 +00:00
parent 04bb8b0142
commit 7694a06b5d
4 changed files with 14 additions and 8 deletions

View file

@ -2,6 +2,8 @@ For now use:
db2html gstreamer-manual
(On debian, db2html is in the cygnus-stylesheets package)
You will need the png support for docbook (see GNOME documentation project)
convert the fig images to png with:

View file

@ -79,12 +79,14 @@ htmlinst:
@if [ -r gstreamer-manual/gstreamer.html ] ; then \
echo "Installing HTML documentation" ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
$(INSTALL_DATA) gstreamer-manual/* $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/gstreamer-manual/images ; \
$(INSTALL_DATA) gstreamer-manual/*.html $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
else \
if [ -r $(srcdir)/gstreamer-manual/gstreamer.html ] ; then \
echo "Installing HTML documentation" ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
$(INSTALL_DATA) $(srcdir)/gstreamer-manual/* $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/gstreamer-manual/images ; \
$(INSTALL_DATA) $(srcdir)/gstreamer-manual/*.html $(DESTDIR)$(docdatadir)/gstreamer-manual ; \
else \
echo "NOT installing HTML documentation: not present, and can't generate" ; \
fi \

View file

@ -2,6 +2,8 @@ For now use:
db2html gstreamer-manual
(On debian, db2html is in the cygnus-stylesheets package)
You will need the png support for docbook (see GNOME documentation project)
convert the fig images to png with:

View file

@ -1,4 +1,4 @@
fig_pngs= \
pngfiles= \
bin-element.png \
connected-elements.png \
filter-element-multi.png \
@ -11,7 +11,7 @@ fig_pngs= \
state-diagram.png \
thread.png
fig_epss= \
epsfiles= \
bin-element.eps \
connected-elements.eps \
filter-element-multi.eps \
@ -24,9 +24,6 @@ fig_epss= \
state-diagram.eps \
thread.eps
png_images: $(fig_pngs)
eps_images: $(fig_epss)
%.png : ../fig/%.fig
fig2dev -L png -s 16 $< $@
@ -34,5 +31,8 @@ eps_images: $(fig_epss)
fig2dev -L eps -s 16 $< $@
all-local: png_images eps_images
all-local: $(epsfiles)
pngdatadir = $(datadir)/gstreamer/gstreamer-manual/images
pngdata_DATA = $(pngfiles)