File: Makefile.am

package info (click to toggle)
freej 0.10git20100110-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,080 kB
  • ctags: 22,705
  • sloc: cpp: 156,254; ansic: 25,531; sh: 13,538; perl: 4,624; makefile: 3,278; python: 2,889; objc: 1,284; asm: 1,125; ruby: 126
file content (34 lines) | stat: -rw-r--r-- 1,046 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
allsources = FreejScripting.js Layer.js GeometryLayer.js Controller.js \
	VideoEncoder.js AudioCollector.js GoomLayer.js footer.html

# where to build docs
htmlbuild = ./html
# final install dir
installdest = $(DESTDIR)$(docdir)/jsdoc

EXTRA_DIST = $(allsources) JSDoc JavaScript images templates .jsdoc_config \
			 JSDoc.pm jsdoc.pl stylesheet.css

noinst_DATA = jsdoc

jsdoc: $(htmlbuild)/index.html
$(htmlbuild)/index.html: $(allsources)
	$(INSTALL) -d $(htmlbuild)
	$(PERL) $(srcdir)/jsdoc.pl -d $(htmlbuild) \
		--project-name "<a href="@PACKAGE_URL@">@PACKAGE_NAME@</a> scripting" \
		--logo "$(srcdir)/../ipernav-small.png" \
		--page-footer "`cat $(srcdir)/footer.html`" \
		$(srcdir)
	$(LN_S) -f $(srcdir)/../images $(htmlbuild)/


install-data-local:
	$(INSTALL) -d $(installdest)
	for d in `find $(htmlbuild) -type d`; do $(INSTALL) -m755 -d  $(installdest)/$$d; done
	for f in `find $(htmlbuild) -type f`; do $(INSTALL) -m644 $$f $(installdest)/$$f; done

uninstall-local:
	-rm -rf $(installdest)

clean-local:
	-rm -rf $(htmlbuild)