Remove many unwanted generated files from distributions.

Original commit message from CVS:
Remove many unwanted generated files from distributions.
This commit is contained in:
Richard Boulton 2001-06-25 20:41:05 +00:00
parent bbed116d90
commit 2a39aad141
3 changed files with 1 additions and 39 deletions

View file

@ -125,12 +125,7 @@ install-data-local: gstreamer.html
fi) fi)
dist-hook: gstreamer.html 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 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)/tmpl/*.sgml $(distdir)/tmpl
-cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
-cp $(srcdir)/sgml/*.bottom $(srcdir)/sgml/*.top $(distdir)/sgml
.PHONY : html sgml tmpl .PHONY : html sgml tmpl

View file

@ -63,8 +63,4 @@ uninstall-local:
@echo '-- Uninstalling '$(DESTDIR)$(TARGET_DIR) ; \ @echo '-- Uninstalling '$(DESTDIR)$(TARGET_DIR) ; \
$(RM) -rf $(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 .PHONY : html

View file

@ -62,42 +62,14 @@ $(manualname)/images:
fi fi
htmldocs: $(manualname)/$(htmlname) $(manualname)/images 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) 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) 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 # Data to install, in the usual automake way
docdatadir = $(datadir)/gstreamer docdatadir = $(datadir)/gstreamer
docdata_DATA = $(PDFFILES) $(PSFILES) docdata_DATA = $(PDFFILES) $(PSFILES)
htmlinst: htmlinst: htmldocs
@if [ -r $(manualname)/$(htmlname) ] ; then \ @if [ -r $(manualname)/$(htmlname) ] ; then \
echo "Installing $(manualname)" ; \ echo "Installing $(manualname)" ; \
$(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \ $(mkinstalldirs) $(DESTDIR)$(docdatadir)/$(manualname) ; \
@ -130,7 +102,6 @@ htmluninst:
all-local: htmldocs pdfdocs psdocs all-local: htmldocs pdfdocs psdocs
clean-local: clean-local:
$(RM) -rf $(manualname)/ $(manualname).junk/ images/*.eps images/*.png *.eps *.png *.ps *.pdf *.aux *.dvi *.log *.tex DBTOHTML_OUTPUT_DIR* $(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 install-data-local: htmlinst
uninstall-local: htmluninst uninstall-local: htmluninst