diff options
author | Hans Breuer <hans@breuer.org> | 2008-06-29 16:08:33 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2008-06-29 16:08:33 +0000 |
commit | 39dc402bbcc054503bc3b2bd451a67bd5b639f4e (patch) | |
tree | 15e7a327bb1fe6448dd12388181b828d10545b0c /xmldocs.make | |
parent | a5ea4d6549501fc9351c110c2c93ff946685ac05 (diff) | |
download | dia-39dc402bbcc054503bc3b2bd451a67bd5b639f4e.tar.xz |
[Patch from Thomas Harding fixing help generation for non-gnome case]
2008-06-29 Hans Breuer <hans@breuer.org>
[Patch from Thomas Harding fixing help generation for non-gnome case]
* xmldocs.make : without gnome install to $(helpdocdir)
* configure.in : initialize HAVE_XSLTPROC
* hardcopies.make : conditionalize on HAVE_GNOME
svn path=/trunk/; revision=4079
Diffstat (limited to 'xmldocs.make')
-rw-r--r-- | xmldocs.make | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/xmldocs.make b/xmldocs.make index e2940442..caa54ff6 100644 --- a/xmldocs.make +++ b/xmldocs.make @@ -38,8 +38,10 @@ # This default value should work for most packages. if HAVE_GNOME helpdocdir = $(datadir)/gnome/help/$(docname)/$(lang) +install-data-hook: install-data-hook-omf else helpdocdir = $(datadir)/$(docname)/help/$(lang) +install-data-hook: endif # ********** You should not have to edit below this line ********** @@ -78,10 +80,25 @@ install-data-xml: omf done \ fi -install-data-hook: install-data-hook-omf +install-data-html: $(progname)_html + $(mkinstalldirs) $(DESTDIR)$(helpdocdir) + cp -r $(srcdir)/$(progname)_html/* $(DESTDIR)$(helpdocdir) uninstall-local-xml: uninstall-local-doc uninstall-local-omf +uninstall-local-html: + -rm -f $(DESTDIR)$(helpdocdir)/*.html + -rm -f $(DESTDIR)$(helpdocdir)/$(figdir)/*.png + -rmdir $(DESTDIR)$(helpdocdir)/$(figdir) + -rm -f $(DESTDIR)$(helpdocdir)/images/callouts/*.png + -rmdir $(DESTDIR)$(helpdocdir)/images/callouts + -rm -f $(DESTDIR)$(helpdocdir)/images/*.png + -rmdir $(DESTDIR)$(helpdocdir)/images/ + -rm -f $(DESTDIR)$(helpdocdir)/css/*.css + -rmdir $(DESTDIR)$(helpdocdir)/css + -rmdir $(DESTDIR)$(helpdocdir)/* + -rmdir $(DESTDIR)$(helpdocdir) + uninstall-local-doc: -rm -f $(DESTDIR)$(helpdocdir)/$(figdir)/* -rmdir $(DESTDIR)$(helpdocdir)/$(figdir) |