File: Makefile.am

package info (click to toggle)
alsaplayer 0.99.76-0.3sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,136 kB
  • ctags: 2,967
  • sloc: ansic: 16,791; cpp: 9,449; sh: 8,431; makefile: 680
file content (59 lines) | stat: -rw-r--r-- 1,518 bytes parent folder | download
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
EXTRA_DIST = wishlist.txt donations.txt

clean-local:
	rm -f *~ *.bak $(DOC_STAMPS) || true

if HAVE_DOXYGEN

DOX=reference.doxygen

DOC_STAMPS=html-build.stamp

DOC_DIR=$(datadir)/doc/alsaplayer

all-local: doxygen-build.stamp

doxygen-build.stamp: $(DOX)
	@echo '*** Running doxygen ***'
	doxygen $(DOX)
	touch doxygen-build.stamp
			
install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(DOC_DIR)/reference/html
	(installfiles=`echo reference/html/*.html`; \
	if test "$$installfiles" = 'reference/html/*.html'; \
	then echo '-- Nothing to install' ; \
	else \
	  for i in $$installfiles reference/html/doxygen.png reference/html/doxygen.css; do \
	    echo '-- Installing '$$i ; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(DOC_DIR)/reference/html; \
	  done; \
	fi)

# we need doxygen stuff built so we can know what to uninstall
uninstall-local: doxygen-build.stamp
	(installfiles=`echo reference/html/*.html`; \
	if test "$$installfiles" = 'reference/html/*.html'; \
	then echo '-- Nothing to uninstall' ; \
	else \
	  for i in $$installfiles reference/html/doxygen.gif reference/html/doxygen.css; do \
	    echo '-- Unstalling '$$i ; \
	    rm $(DOC_DIR)/$$i; \
	  done; \
	fi)

dist-check-doxygen:

endif

distclean-local: clean
	rm -f *.stamp || true
	if test -d reference; then rm -rf reference; fi

dist-hook: dist-hook-local
	mkdir $(distdir)/reference
	mkdir $(distdir)/reference/html
	-cp reference/html/*.html reference/html/*.css \
	    reference/html/*.gif  $(distdir)/reference/html

.PHONY : dist-hook-local