From: Benjamin O. <co...@us...> - 2003-11-23 04:40:35
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: company Date: Sat Nov 22 2003 20:40:34 PST Log message: get make distcheck working by adding uninstall support to gtk-doc stuff and changing a clean to a clean-local Modified files: docs : manuals.mak docs/gst : Makefile.am docs/libs : Makefile.am Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/manuals.mak.diff?r1=1.23&r2=1.24 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/gst/Makefile.am.diff?r1=1.57&r2=1.58 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/libs/Makefile.am.diff?r1=1.20&r2=1.21 ====Begin Diffs==== Index: manuals.mak =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/manuals.mak,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- manuals.mak 19 Nov 2003 23:34:44 -0000 1.23 +++ manuals.mak 23 Nov 2003 04:40:22 -0000 1.24 @@ -119,7 +119,7 @@ # @export LC_PAPER=$(PAPER_LOCALE) && xmlto pdf $(MAIN) # @rm image.entities -clean: +clean-local: -$(RM) -r $(BUILDDIR) -$(RM) -r html -$(RM) $(DOC).ps Index: Makefile.am =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/gst/Makefile.am,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- Makefile.am 21 Nov 2003 21:00:35 -0000 1.57 +++ Makefile.am 23 Nov 2003 04:40:22 -0000 1.58 @@ -228,8 +228,25 @@ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ fi) +uninstall-local: + (installfiles=`echo $(srcdir)/html/*.html $(srcdir)/html/*.png`; \ + if test "$$installfiles" = '$(srcdir)/html/*.html'; \ + then echo '-- Nothing to uninstall' ; \ + else \ + for i in $$installfiles; do \ + rmfile=`basename $$i` ; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \ + done; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \ + fi) + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR) else install-data-local: +uninstall-local: endif # Index: Makefile.am =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/libs/Makefile.am,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- Makefile.am 19 Nov 2003 23:49:46 -0000 1.20 +++ Makefile.am 23 Nov 2003 04:40:22 -0000 1.21 @@ -227,8 +227,25 @@ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ fi) +uninstall-local: + (installfiles=`echo $(srcdir)/html/*.html $(srcdir)/html/*.png`; \ + if test "$$installfiles" = '$(srcdir)/html/*.html'; \ + then echo '-- Nothing to uninstall' ; \ + else \ + for i in $$installfiles; do \ + rmfile=`basename $$i` ; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \ + done; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ + echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \ + rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \ + fi) + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR) else install-data-local: +uninstall-local: endif # |