From: Stefan Kost Date: Sat, 15 Dec 2007 16:52:11 +0000 (+0000) Subject: gtk-doc/: We should have never forked this that much :/. X-Git-Tag: RELEASE-0_10_0_3~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a00d4c1966aab517c2694c61d580489ebcbce448;p=platform%2Fupstream%2Fgst-common.git gtk-doc/: We should have never forked this that much :/. Original commit message from CVS: * gtk-doc-plugins.mak: * gtk-doc.mak: We should have never forked this that much :/. --- diff --git a/ChangeLog b/ChangeLog index 0cd84d5..e7e4a64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-15 Stefan Kost + + * gtk-doc-plugins.mak: + * gtk-doc.mak: + We should have never forked this that much :/. + 2007-12-13 Tim-Philipp Müller * check-exports: diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index 8421930..a025b0f 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -70,6 +70,22 @@ SCAN_FILES = \ $(DOC_MODULE)-decl.txt \ $(DOC_MODULE)-decl-list.txt + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +# FC3 seems to need -scan.c to be part of CLEANFILES for distcheck +# no idea why FC4 can do without +CLEANFILES = \ + $(SCANOBJ_FILES_O) \ + $(DOC_MODULE)-scan.c \ + $(REPORT_FILES) \ + $(DOC_STAMPS) \ + inspect-registry.xml + + if ENABLE_GTK_DOC all-local: html-build.stamp @@ -229,15 +245,6 @@ else all-local: endif -# FC3 seems to need -scan.c to be part of CLEANFILES for distcheck -# no idea why FC4 can do without -CLEANFILES = \ - $(SCANOBJ_FILES_O) \ - $(DOC_MODULE)-scan.c \ - $(DOC_MODULE)-unused.txt \ - $(DOC_STAMPS) \ - inspect-registry.xml - # FIXME: these rules need a little cleaning up clean-local: rm -f *~ *.bak @@ -279,6 +286,10 @@ install-data-local: echo '-- Installing $(srcdir)/html/$(DOC_MODULE).devhelp' ; \ $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp \ $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ + if test -e $(srcdir)/html/$(DOC_MODULE).devhelp2; then \ + $(INSTALL_DATA) $(srcdir)/html/$(DOC_MODULE).devhelp2 \ + $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \ + fi; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ if test -e $(srcdir)/html/style.css; then \ @@ -306,6 +317,9 @@ uninstall-local: fi; \ echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \ rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \ + if test -e $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \ + rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \ + fi; \ echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \ rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \ if test -e $(DESTDIR)$(TARGET_DIR)/style.css; then \ @@ -347,7 +361,7 @@ dist-hook: dist-check-gtkdoc dist-hook-local -cp $(srcdir)/sgml/*.xml $(distdir)/xml -cp $(srcdir)/html/index.sgml $(distdir)/html -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html - -cp $(srcdir)/html/$(DOC_MODULE).devhelp $(distdir)/html + -cp $(srcdir)/html/$(DOC_MODULE).devhelp* $(distdir)/html images=$(HTML_IMAGES) ; \ for i in "" $$images ; do \ diff --git a/gtk-doc.mak b/gtk-doc.mak index ea203d8..34e4611 100644 --- a/gtk-doc.mak +++ b/gtk-doc.mak @@ -40,7 +40,12 @@ SCANOBJ_FILES = \ .libs/$(DOC_MODULE)-scan.o \ $(DOC_MODULE).signals -CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS) +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) if ENABLE_GTK_DOC all-local: html-build.stamp @@ -151,8 +156,7 @@ maintainer-clean-local: clean distclean-local: clean rm -f $(DOC_MODULE)-decl-list.txt rm -f $(DOC_MODULE)-decl.txt - rm -f $(DOC_MODULE)-undocumented.txt - rm -f $(DOC_MODULE)-unused.txt + rm -f $(REPORT_FILES) rm -rf tmpl/*.sgml.bak rm -f $(DOC_MODULE).hierarchy rm -f *.stamp || true