File: Makefile.am

package info (click to toggle)
naspro-core 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,812 kB
  • sloc: sh: 11,338; ansic: 4,634; makefile: 96
file content (48 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download | duplicates (4)
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
#
# NASPRO - The NASPRO Architecture for Sound PROcessing
# Portable runtime library
#
# Copyright (C) 2007-2014 Stefano D'Angelo
#
# See the COPYING file for license conditions.
#

if BUILD_DOC

.PHONY: html

html:
	$(MKDIR_P) html
	@if [ ! "$(top_srcdir)/doc" -ef . ]; then \
		echo cp -fpR \"$(top_srcdir)/doc/proj\" proj; \
		cp -fpR "$(top_srcdir)/doc/proj" proj; \
	fi
	$(NATURALDOCS) -i "$(top_srcdir)/include" -o html html -p proj

install-data-local:
	@if [ -d html ]; then \
		echo $(mkinstalldirs) \"$(DESTDIR)$(docdir)/html\"; \
		$(mkinstalldirs) "$(DESTDIR)$(docdir)/html"; \
		oldIFS="$$IFS"; \
		IFS=$$'\n'; \
		for d in `find html -type d`; do \
			echo $(mkinstalldirs) \"$(DESTDIR)$(docdir)/$$d\"; \
			$(mkinstalldirs) "$(DESTDIR)$(docdir)/$$d"; \
			for f in `ls -1 "$$d"`; do \
				[ -f "$$d/$$f" ] || continue; \
				echo $(INSTALL_DATA) \"$$d/$$f\" \"$(DESTDIR)$(docdir)/$$d/$$f\" ; \
				$(INSTALL_DATA) "$$d/$$f" "$(DESTDIR)$(docdir)/$$d/$$f"; \
			done; \
		done; \
		IFS="$$oldIFS"; \
	fi

uninstall-local:
	-rm -fr "$(DESTDIR)$(docdir)"

clean-local:
	-rm -fr html proj/Data

endif

EXTRA_DIST = proj/Languages.txt proj/Menu.txt proj/Topics.txt