summaryrefslogtreecommitdiff
path: root/xmldocs.make
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2008-03-04 15:09:29 +0000
committerHans Breuer <hans@src.gnome.org>2008-03-04 15:09:29 +0000
commit45b72ed5800c7fcd72f0dcbd8b49b7404d20ce7f (patch)
tree6961aae9774eb31977eaf3ed0a058ca8a4a2806b /xmldocs.make
parent34c42bea729a7a08bd04b0b2f24b70e91fe39648 (diff)
downloaddia-45b72ed5800c7fcd72f0dcbd8b49b7404d20ce7f.tar.xz
ooops, was not built anymore;)gedit
2008-03-04 Hans Breuer <hans@breuer.org> * objects/standard/Makefile.am : ooops, was not built anymore;)gedit [autobreak trial and error - finally makes 'make distcheck' pass] * bindings/Makefile.am : dont try to install anything * data/Makefile.am : add dia-splash.png to EXTRA_DIST * doc/en/Makefile.am : add dia-dbk-to-chapter.sed to EXTRA_DIST * xmldocs.make : s/docdir/helpdocdir/ * po/POTFILES.(in|skip) : updated svn path=/trunk/; revision=3894
Diffstat (limited to 'xmldocs.make')
-rw-r--r--xmldocs.make22
1 files changed, 11 insertions, 11 deletions
diff --git a/xmldocs.make b/xmldocs.make
index 658da558..7806396e 100644
--- a/xmldocs.make
+++ b/xmldocs.make
@@ -34,12 +34,12 @@
# ********** Begin of section some packagers may need to modify **********
-# This variable (docdir) specifies where the documents should be installed.
+# This variable (helpdocdir) specifies where the documents should be installed.
# This default value should work for most packages.
if HAVE_GNOME
-docdir = $(datadir)/gnome/help/$(docname)/$(lang)
+helpdocdir = $(datadir)/gnome/help/$(docname)/$(lang)
else
-docdir = $(datadir)/$(docname)/help/$(lang)
+helpdocdir = $(datadir)/$(docname)/help/$(lang)
endif
# ********** You should not have to edit below this line **********
@@ -67,15 +67,15 @@ app-dist-hook:
fi
install-data-local: omf
- $(mkinstalldirs) $(DESTDIR)$(docdir)
+ $(mkinstalldirs) $(DESTDIR)$(helpdocdir)
for file in $(xml_files); do \
- cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
+ cp $(srcdir)/$$file $(DESTDIR)$(helpdocdir); \
done
if test "$(figdir)"; then \
- $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \
+ $(mkinstalldirs) $(DESTDIR)$(helpdocdir)/$(figdir); \
for file in $(srcdir)/$(figdir)/*.png; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
- $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(helpdocdir)/$(figdir)/$$basefile; \
done \
fi
@@ -87,13 +87,13 @@ uninstall-local-doc:
-if test "$(figdir)"; then \
for file in $(srcdir)/$(figdir)/*.png; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
- rm -f $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
+ rm -f $(DESTDIR)$(helpdocdir)/$(figdir)/$$basefile; \
done; \
- rmdir $(DESTDIR)$(docdir)/$(figdir); \
+ rmdir $(DESTDIR)$(helpdocdir)/$(figdir); \
fi
-for file in $(xml_files); do \
- rm -f $(DESTDIR)$(docdir)/$$file; \
+ rm -f $(DESTDIR)$(helpdocdir)/$$file; \
done
- -rmdir $(DESTDIR)$(docdir)
+ -rmdir $(DESTDIR)$(helpdocdir)
clean-local: clean-local-omf