Manual now gets installed correctly by make install. Problems: clean / uninstall...
authorRichard Boulton <richard@tartarus.org>
Thu, 12 Oct 2000 08:43:03 +0000 (08:43 +0000)
committerRichard Boulton <richard@tartarus.org>
Thu, 12 Oct 2000 08:43:03 +0000 (08:43 +0000)
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.

docs/manual/BUILD
docs/manual/Makefile.am
docs/manual/README
docs/manual/images/Makefile.am

index 9a87492..bc12aef 100644 (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:
index 961d7cf..72880fb 100644 (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 \
index 9a87492..bc12aef 100644 (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:
index 3fc0557..003e57b 100644 (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)