File: Makefile.am

package info (click to toggle)
rlog 1.4-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,644 kB
  • sloc: sh: 9,196; cpp: 1,601; makefile: 129
file content (38 lines) | stat: -rw-r--r-- 761 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

SOURCES = index.dox channel.dox component.dox

docdir = $(datadir)/doc
pkgdocdir = $(docdir)/$(PACKAGE)
#pkghtmldir = $(pkgdocdir)/html


# have both html and html/index.html to force build of index.html if necessary
EXTRA_DIST = latex/refman.pdf html html/index.html $(SOURCES)

pkgdoc_DATA = \
    latex/refman.pdf

#pkghtml_DATA = \
#    html/*

if BUILD_DOCS
latex/refman.pdf: html/index.html
	-cd latex && make

html/index.html: ../Doxyfile $(SOURCES)
	-rm -rf html
	-cd .. && @DOXYGEN@ Doxyfile

clean-local:
	#-rm -rf html
	#-rm -rf latex
endif

all-local: html/index.html

install-data-local: all-local
	-echo installing to ${DESTDIR}${pkgdocdir}/html
	/bin/sh ../mkinstalldirs ${DESTDIR}${pkgdocdir}/html
	install html/* ${DESTDIR}${pkgdocdir}/html