summaryrefslogtreecommitdiff
path: root/doc/faq/Makefile.am
blob: 3b4d2c15ce1ea4000d1f7dbb6a5d152bd1def078 (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)/misc/Makefile.common

EXTRA_DIST = $(docs_DOCS) README faq.sgml
docdir = $(prefix)/share/doc/xine/faq
docs_DOCS = faq.html faq.txt


install-data-local:
	@documentations='$(docs_DOCS)'; \
	for doc in $$documentations; do \
		destdir=$(DESTDIR)$(docdir); \
		name=`echo $$doc` \
		dir=$$destdir; \
		$(mkinstalldirs) $$dir; \
		$(INSTALL_DATA) $$doc $$dir/$$name; \
		echo "installing $$doc as $$dir/$$name"; \
	done

uninstall-local:
	@documentations='$(docs_DOCS)'; \
	for doc in $$documentations; do \
		destdir=$(DESTDIR)$(docdir); \
		name=`echo $$doc` \
		dir=$$destdir; \
		rm -f $$dir/$$name; \
		echo "removing $$dir/$$name" ; \
	done