File: Makefile.am

package info (click to toggle)
libpqxx 7.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,184 kB
  • sloc: cpp: 14,681; sh: 4,859; python: 801; makefile: 244
file content (29 lines) | stat: -rw-r--r-- 679 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
MAINTAINERCLEANFILES = Makefile.in

maintainer-clean-local:
	$(RM) -rf doxygen-html
	$(MKDIR) doxygen-html

EXTRA_DIST = Doxyfile

all-local: docs

if BUILD_DOCS
DOXYGEN = doxygen
# Doxygen config needs the source files in its local tree.  That means the
# build tree.  If that differs from the source tree, copy the files.
docs:
	if ! [ "$(srcdir)/../src" -ef ../src ]; then \
	    cp "$(srcdir)"/../src/*.[ch]xx ../src/ ; \
	    cp -r "$(srcdir)"/../include/pqxx/* ../include/pqxx/ ; \
	    cp -r "$(srcdir)"/../test ../test/ ; \
	fi
	$(DOXYGEN) "$(srcdir)"/Doxyfile
else
docs:
endif

dist-hook:
	if [ -d doxygen-html ]; then \
	    cp -pR doxygen-html $(distdir)/html ; \
	fi