summaryrefslogtreecommitdiffstats
path: root/gnome2-system-admin-guide/Makefile.am
blob: 49b488578082002e9ebb050a94b2813a934c2396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
include $(top_srcdir)/gnome-doc-utils.make
dist-hook: doc-dist-hook

DOC_MODULE = system-admin-guide
DOC_ENTITIES =			\
	appendixa.xml		\
	appendixb.xml		\
	fontconfig.xml		\
	gconf.xml		\
	glossary.xml		\
	help.xml		\
	lockdown.xml		\
	menustructure.xml	\
	mimetypes.xml		\
	performance.xml		\
	screensavers.xml	\
	sessions.xml		\
	themes.xml		\
	legal.xml

DOC_LINGUAS = es it pa sv

install-data-local: 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