File: Makefile.am

package info (click to toggle)
libtheora 1.1.1%2Bdfsg.1-14
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,460 kB
  • ctags: 3,487
  • sloc: ansic: 32,561; sh: 9,675; makefile: 743
file content (72 lines) | stat: -rw-r--r-- 1,683 bytes parent folder | download | duplicates (5)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
## Process this file with automake to produce Makefile.in

SUBDIRS = spec

docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)

static_docs = vp3-format.txt color.html

doc_DATA = $(static_docs) doxygen-build.stamp

EXTRA_DIST = $(static_docs) Doxyfile.in

if HAVE_DOXYGEN
doxygen-build.stamp: Doxyfile $(top_srcdir)/include/theora/*.h
	doxygen
	touch doxygen-build.stamp
else
doxygen-build.stamp:
	echo "*** Warning: Doxygen not found; documentation will not be built."
	touch doxygen-build.stamp
endif

dist_docdir = $(distdir)/libtheora

dist-hook:
	if test -d libtheora; then \
	  mkdir $(dist_docdir); \
	  echo -n "copying built documenation..."; \
	  for dir in libtheora/*; do \
	    b=`basename $$dir`; \
	    if test $$b != ".svn"; then \
	      if test -d $$dir; then \
		mkdir $(dist_docdir)/$$b; \
		for f in $$dir/*; do \
		  cp -p $$f $(dist_docdir)/$$b; \
		done; \
	      fi; \
	    fi; \
	  done; \
	  echo "OK"; \
	fi
	for item in $(EXTRA_DIST); do \
	  if test -d $$item; then \
	    echo -n "cleaning $$item dir for distribution..."; \
	    rm -rf `find $(distdir)/$$item -name .svn`; \
	    echo "OK"; \
	  fi; \
	done



install-data-local: doxygen-build.stamp
	$(mkinstalldirs) $(DESTDIR)$(docdir)
	if test -d libtheora; then \
	  for dir in libtheora/*; do \
	    if test -d $$dir; then \
	      b=`basename $$dir`; \
	      $(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \
	      for f in $$dir/*; do \
		$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \
	      done \
	    fi \
	  done \
	fi

uninstall-local:
	rm -rf $(DESTDIR)$(docdir)

clean-local:
	if test -d libtheora; then rm -rf libtheora; fi
	if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi