-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
66 lines (48 loc) · 1.55 KB
/
Makefile.am
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
noinst_HEADERS = src/pgsql.h \
src/QorePGConnection.h \
src/QorePGMapper.h
EXTRA_DIST = COPYING.LGPL COPYING.MIT AUTHORS README \
RELEASE-NOTES \
src/ql_pgsql.qpp \
test/pgsql.qtest \
test/sql-stmt.q \
qore-pgsql-module.spec
ACLOCAL_AMFLAGS=-I m4
if COND_DOXYGEN
DOX = pgsql
DOXYGEN_OUTPUT = docs/pgsql/html
DOXYFILES = docs/doxyfile docs/mainpage.dox
DOXYFILES_SRC = docs/doxyfile.tmpl docs/footer_template.html
QDX = qdx
DX_CLEANFILES = ${DOXYFILES}
docs/pgsql/html: $(DOXYFILES)
cd docs; $(DOXYGEN_CMD) doxyfile;
$(QDX) --post $(DOXYGEN_OUTPUT)/*html
$(QDX) --post $(DOXYGEN_OUTPUT)/search/*html
docs/mainpage.dox: docs/mainpage.dox.tmpl
$(QDX) -d $< $@
docs/doxyfile: docs/doxyfile.tmpl
sed -e s/__VERSION__/${VERSION}/ -e s:__USERMODDIR__:${usermoddir}: $< > $@
doxygen-doc: $(DOXYGEN_OUTPUT)
EXTRA_DIST += $(DOXYGEN_OUTPUT)
html-local: $(DOXYGEN_OUTPUT)
install-html-local:
for dox in $(DOX); do $(MKDIR_P) $(DESTDIR)$(datadir)/$(PACKAGE)/docs/$$dox/html/search; done
for dir in $(DOXYGEN_OUTPUT); do \
for f in $$dir/*; do if [ -f $$f ]; then $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/$(PACKAGE)/$$dir; fi; done; \
for f in $$dir/search/*; do $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/$(PACKAGE)/$$dir/search; done; \
done
clean-local:
$(RM) -rf $(DOXYGEN_OUTPUT)
uninstall-local:
$(RM) -rf $(DESTDIR)$(datadir)/$(PACKAGE)/docs
mostlyclean-local:
rm -rf ${DOXYGEN_OUTPUT} ${DX_CLEANFILES}
else
doxygen-doc:
echo no doxygen support
endif
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck