summaryrefslogtreecommitdiffstats
path: root/gnome2-accessibility-guide/Makefile.am
blob: 8e00014af1ef5b8d6253ab3de141ba7a4249e0ca (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 fi fr hu it oc pt 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