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

SUBDIRS = man hackersguide faq

EXTRA_DIST = $(docs_DOCS) 
docdir = $(prefix)/share/doc/xine
docs_DOCS = README README.plugins dataflow.dia README.dvb \
	    README.config_en README.dxr3 README.dxr3_pl README.freebsd \
	    README.irix README.mrl README.opengl README.solaris README.syncfb \
	    README.tvmode README.network_dvd 


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