summaryrefslogtreecommitdiffstats
path: root/gnome2-accessibility-guide/Makefile.am
blob: 3c480f0e78b822ff6b651dc8e36fd903f892ab92 (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
include $(top_srcdir)/gnome-doc-utils.make
dist-hook: doc-dist-hook

DOC_MODULE = gnome-access-guide
DOC_ENTITIES =			\
	accessintro.xml		\
	preface.xml		\
	sysadmin.xml		\
	enable.xml  \
	general.xml \
	low-vision.xml  \
	mobility.xml	\
	legal.xml

DOC_LINGUAS = de el en_GB es eu fi fr hu it oc pt ru sv zh_CN

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