diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2007-08-21 15:26:55 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2007-08-21 15:26:55 +0000 |
commit | a560800eb3c603a2e0593691f853eae5cbc6d4f7 (patch) | |
tree | 16656ff0ef51d0a2ff74c5f77b5fd871564ddb9b /tools | |
parent | ab833108a550e5a9dbf1fc4f73085fcebd22fdfc (diff) | |
download | gnome-doc-utils-a560800eb3c603a2e0593691f853eae5cbc6d4f7.tar.gz |
- Allow DOC_INCLUDES/ENTITIES to be in subdirectories
* tools/gnome-doc-utils.make:
- Allow DOC_INCLUDES/ENTITIES to be in subdirectories
svn path=/trunk/; revision=1025
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gnome-doc-utils.make | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/gnome-doc-utils.make b/tools/gnome-doc-utils.make index 043720f..5eb2ee4 100644 --- a/tools/gnome-doc-utils.make +++ b/tools/gnome-doc-utils.make @@ -416,6 +416,11 @@ dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES) @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ + docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ + if ! test -d "$(distdir)/$$docdir"; then \ + echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ + $(mkinstalldirs) "$(distdir)/$$docdir"; \ + fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done @@ -486,6 +491,12 @@ install-doc-docs: done @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ + docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ + docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \ + if ! test -d "$$docdir"; then \ + echo "$(mkinstalldirs) $$docdir"; \ + $(mkinstalldirs) "$$docdir"; \ + fi; \ echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \ $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \ done |