summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: c5a66f068dc3f74e7760bf76e8d0404b5d6e6278 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

SUBDIRS = man

EXTRA_DIST = $(docs_DOCS) MRL.txt dataflow.dia xine-lib-API.cfg

docdir = $(prefix)/share/doc/xine
docs_DOCS = README README.syncfb README.freebsd FAQ bug_report_form


install-data-local:
	@documentations='$(docs_DOCS)'; \
	for doc in $$documentations; do \
	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=$(docdir); \
	name=`echo $$doc` \
	dir=$$destdir; \
	rm -f $$dir/$$name; \
	  echo "removing $$dir/$$name" ; \
	done


docs:
	@if test x"$$DOXYGEN" != "xno"; then \
	  echo -n "  + Creating docs: "; \
	  if test ! -d xine-lib-API; then mkdir xine-lib-API; fi; \
	  cp ../misc/xine_logo.png ./xine-lib-API; \
	  echo -e "<HTML>\n<HEAD>\n<TITLE>\$$projectname</TITLE>\n<IMG SRC=\"../xine_logo.png\" alt=\"xine logo\" ALIGN=CENTER WIDTH=100% CELLPADDING=0 BORDER=0>\n</HEAD>\n<BODY BGCOLOR=#000000 TEXT=#ccccFF LINK=#a0a0FF VLINK=#40ddff ALINK=#ffffff leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n" > ./xine-lib-API/xine_header.html; \
	  $(DOXYGEN) xine-lib-API.cfg; \
	  echo "done.";\
	fi


erase-docs:
	@rm -rf xine-lib-API/html
	@rm -f xine-lib-API/xine_header.html xine-lib-API/xine_logo.png


debug:
install-debug:

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic: erase-docs
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in