Remove many unwanted generated files from distributions.
authorRichard Boulton <richard@tartarus.org>
Mon, 25 Jun 2001 20:41:05 +0000 (20:41 +0000)
committerRichard Boulton <richard@tartarus.org>
Mon, 25 Jun 2001 20:41:05 +0000 (20:41 +0000)
Original commit message from CVS:
Remove many unwanted generated files from distributions.

docs/gst/Makefile.am
docs/libs/Makefile.am
docs/manuals.mak

index 8e32d9c..ac7a0dc 100644 (file)
@@ -125,12 +125,7 @@ install-data-local: gstreamer.html
        fi)
 
 dist-hook: gstreamer.html
-       if ! test -d $(distdir)/html ; then mkdir $(distdir)/html ; fi
-       if ! test -d $(distdir)/sgml ; then mkdir $(distdir)/sgml ; fi
        if ! test -d $(distdir)/tmpl ; then mkdir $(distdir)/tmpl ; fi
-       -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
-       -cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-       -cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
 
 .PHONY : html sgml tmpl
index 953e676..e61e45f 100644 (file)
@@ -63,8 +63,4 @@ uninstall-local:
        @echo '-- Uninstalling '$(DESTDIR)$(TARGET_DIR) ; \
        $(RM) -rf $(DESTDIR)$(TARGET_DIR)
 
-dist-hook: html
-       mkdir $(distdir)/html
-       -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
-
 .PHONY : html
index 88650bd..9f9fecb 100644 (file)
@@ -62,42 +62,14 @@ $(manualname)/images:
        fi
 
 htmldocs: $(manualname)/$(htmlname) $(manualname)/images
-htmldist: htmldocs
-       @if [ -r $(manualname)/$(htmlname) ] ; then \
-           echo "Adding $(manualname)/$(htmlname) to distribution" ; \
-           $(mkinstalldirs) $(distdir)/$(manualname) ; \
-           cp -a $(manualname)/*.html $(distdir)/$(manualname)/ ; \
-       else \
-           echo "Skipping $(manualname)/$(htmlname) from distribution: can't build" ; \
-       fi
-
 pdfdocs: $(PDFFILES)
-pdfdist: pdfdocs
-       @for a in $(PDFFILES) ; do \
-       if [ -r $$a ] ; then \
-           echo "Adding $$a to distribution" ; \
-           cp -a $$a $(distdir)/ ; \
-       else \
-           echo "Skipping $$a from distribution: can't build" ; \
-       fi \
-       done
-
 psdocs: $(PSFILES)
-psdist: psdocs
-       @for a in $(PSFILES) ; do \
-       if [ -r $$a ] ; then \
-           echo "Adding $$a to distribution" ; \
-           cp -a $$a $(distdir)/ ; \
-       else \
-           echo "Skipping $$a from distribution: can't build" ; \
-       fi \
-       done
 
 # Data to install, in the usual automake way
 docdatadir   = $(datadir)/gstreamer
 docdata_DATA = $(PDFFILES) $(PSFILES)
 
-htmlinst:
+htmlinst: htmldocs
        @if [ -r $(manualname)/$(htmlname) ] ; then \
            echo "Installing $(manualname)" ; \
            $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \
@@ -130,7 +102,6 @@ htmluninst:
 all-local: htmldocs pdfdocs psdocs
 clean-local:
        $(RM) -rf $(manualname)/ $(manualname).junk/ images/*.eps images/*.png *.eps *.png *.ps *.pdf *.aux *.dvi *.log *.tex DBTOHTML_OUTPUT_DIR*
-dist-hook: htmldist pdfdist psdist
 install-data-local: htmlinst
 uninstall-local: htmluninst