From 2a39aad1415eda2725671c6866f63cabb684a308 Mon Sep 17 00:00:00 2001 From: Richard Boulton Date: Mon, 25 Jun 2001 20:41:05 +0000 Subject: [PATCH] Remove many unwanted generated files from distributions. Original commit message from CVS: Remove many unwanted generated files from distributions. --- docs/gst/Makefile.am | 5 ----- docs/libs/Makefile.am | 4 ---- docs/manuals.mak | 31 +------------------------------ 3 files changed, 1 insertion(+), 39 deletions(-) diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am index 8e32d9c..ac7a0dc 100644 --- a/docs/gst/Makefile.am +++ b/docs/gst/Makefile.am @@ -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 diff --git a/docs/libs/Makefile.am b/docs/libs/Makefile.am index 953e676..e61e45f 100644 --- a/docs/libs/Makefile.am +++ b/docs/libs/Makefile.am @@ -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 diff --git a/docs/manuals.mak b/docs/manuals.mak index 88650bd..9f9fecb 100644 --- a/docs/manuals.mak +++ b/docs/manuals.mak @@ -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 -- 2.7.4