File: Makefile.am

package info (click to toggle)
quantlib 1.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,768 kB
  • sloc: cpp: 398,987; makefile: 6,574; python: 214; sh: 150; lisp: 86
file content (40 lines) | stat: -rw-r--r-- 1,075 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

EXTRA_DIST = \
             quantlib.doxy \
             quantlibextra.css \
             quantlibfooter.html \
             quantlibheader.html

DOXYGEN_CONFIG := quantlib.doxy
DOXYGEN_CUSTOM := quantlibextra.css quantlibheader.html quantlibfooter.html
DOXYGEN_INPUT := $(shell find ${top_srcdir} -name *.hpp) \
                 $(wildcard pages/*.docs)

BASEPATH = $(shell cd @abs_top_srcdir@ && pwd)

.PHONY: docs docs-clean

dist-hook:
	mkdir -p $(distdir)/pages $(distdir)/images
	cp -p $(srcdir)/pages/*.docs $(distdir)/pages
	cp -p $(srcdir)/images/*.jpg \
	      $(srcdir)/images/*.ico \
	      $(distdir)/images

docs: .time-stamp

clean-local:
	rm -Rf html
	rm -f .time-stamp


.time-stamp: $(DOXYGEN_CONFIG) $(DOXYGEN_CUSTOM) $(DOXYGEN_INPUT) ../LICENSE.TXT
	cp -p ${top_srcdir}/LICENSE.TXT ${top_srcdir}/Contributors.txt .
	$(SED) -e "s|ql_basepath|${BASEPATH}/|" \
           -e "s|ql_version|$(VERSION)|" \
	       ${srcdir}/quantlib.doxy > .quantlib.doxy
	$(DOXYGEN) .quantlib.doxy
	rm -f .quantlib.doxy
	rm -f html/*.md5
	rm -f html/*.map
	touch .time-stamp