summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 3a06d71c8e0ed11fb303d71e1ec3aff2d908a98f (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

SUBDIRS = man xine-lib-API hackersguide

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

docdir = $(prefix)/share/doc/xine
docs_DOCS = 

docs:
	@if test x"$$DOXYGEN" != "xno"; then \
	  echo -n "  + Creating docs: "; \
	  if test ! -d xine-lib-API/html; \
	     then mkdir -p xine-lib-API/html; \
	  fi; \
	  cp ../misc/xine_logo.png ./xine-lib-API/html; \
	  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


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

debug:
install-debug:

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

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