File: Makefile.am

package info (click to toggle)
alsaplayer 0.99.82-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,892 kB
  • sloc: ansic: 40,741; cpp: 14,400; makefile: 983; sh: 796; lex: 751; asm: 45; python: 29; sed: 16
file content (59 lines) | stat: -rw-r--r-- 1,691 bytes parent folder | download | duplicates (2)
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 reference.doxygen.log || true

if HAVE_DOXYGEN

DOC_DIR=$(datadir)/doc/alsaplayer

all-local: reference.doxygen.log

reference.doxygen.log: reference.doxygen $(top_srcdir)/configure
	$(AM_V_GEN)doxygen reference.doxygen
	@UNDOCUMENTED=$$(cat $@); \
	if test -n "$$UNDOCUMENTED" ; then \
		echo "---------- UNDOCUMENTED CODE ----------"; \
		echo "$$UNDOCUMENTED"; \
		echo "---------------------------------------"; \
		fi

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: reference.doxygen.log
	(installfiles=`echo reference/html/*.html`; \
	if test "$$installfiles" = 'reference/html/*.html'; \
	then echo '-- Nothing to uninstall' ; \
	else \
	  for i in $$installfiles reference/html/doxygen.png reference/html/doxygen.css; do \
	    echo '-- Unstalling '$$i ; \
	    rm $(DOC_DIR)/$$i; \
	  done; \
	fi)

dist-check-doxygen:

endif

distclean-local: clean
	rm -f reference.doxygen.log || 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/*.png  $(distdir)/reference/html

.PHONY : dist-hook-local