summaryrefslogtreecommitdiffstats
path: root/gnome2-user-guide/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-user-guide/Makefile.am')
-rw-r--r--gnome2-user-guide/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnome2-user-guide/Makefile.am b/gnome2-user-guide/Makefile.am
index 7becba7..d25d54f 100644
--- a/gnome2-user-guide/Makefile.am
+++ b/gnome2-user-guide/Makefile.am
@@ -15,3 +15,14 @@ DOC_INCLUDES = \
glossary.xml
DOC_LINGUAS = es it nl ru
+
+install: install-doc-pdf
+install-doc-pdf:
+ for lc in C $(DOC_LINGUAS); do \
+ pdf="$$lc/$(DOC_MODULE).pdf"; \
+ if [ -f "$$pdf" ]; then spdf="$$pdf"; else spdf="$(srcdir)/$$pdf"; fi; \
+ if [ -f "$$spdf" ]; then \
+ $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
+ $(INSTALL_DATA) "$$spdf" "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$pdf"; \
+ fi; \
+ done