aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am35
1 files changed, 2 insertions, 33 deletions
diff --git a/Makefile.am b/Makefile.am
index 36dcd5f..c4e8953 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,10 +39,6 @@ SUBDIRS = $(subdirs)
39DIST_SUBDIRS = $(subdirs) 39DIST_SUBDIRS = $(subdirs)
40 40
41 41
42# directory locations
43doxygendir = $(docdir)/doxygen
44
45
46# GNU make options 42# GNU make options
47V = 0 43V = 0
48 44
@@ -77,7 +73,6 @@ LDADD =
77bin_PROGRAMS = 73bin_PROGRAMS =
78check_PROGRAMS = 74check_PROGRAMS =
79doc_DATA = doc/oid.txt 75doc_DATA = doc/oid.txt
80doxygen_DATA =
81noinst_DATA = 76noinst_DATA =
82EXTRA_PROGRAMS = 77EXTRA_PROGRAMS =
83include_HEADERS = 78include_HEADERS =
@@ -135,9 +130,6 @@ CLEANFILES = \
135 $(builddir)/a.out $(srcdir)/a.out \ 130 $(builddir)/a.out $(srcdir)/a.out \
136 $(builddir)/*/a.out $(srcdir)/*/a.out \ 131 $(builddir)/*/a.out $(srcdir)/*/a.out \
137 config.h.in~ $(srcdir)/config.h.in~ \ 132 config.h.in~ $(srcdir)/config.h.in~ \
138 doc/Doxyfile \
139 doc/Doxyfile.make \
140 doc/doxygen \
141 $(man_MANS) \ 133 $(man_MANS) \
142 $(pkgdata_DATA) \ 134 $(pkgdata_DATA) \
143 $(bin_SCRIPTS) \ 135 $(bin_SCRIPTS) \
@@ -146,18 +138,11 @@ CLEANFILES = \
146 @PACKAGE_TARNAME@-*.txz \ 138 @PACKAGE_TARNAME@-*.txz \
147 @PACKAGE_TARNAME@-*.zip 139 @PACKAGE_TARNAME@-*.zip
148DISTCHECK_CONFIGURE_FLAGS = --enable-strictwarnings \ 140DISTCHECK_CONFIGURE_FLAGS = --enable-strictwarnings \
149 --enable-doxygen-docs \
150 --enable-ldapdebug \ 141 --enable-ldapdebug \
151 --enable-ldapschema \ 142 --enable-ldapschema \
152 --enable-libldapschema 143 --enable-libldapschema
153 144
154 145
155# macros for doc/doxygen
156if LDAPUTILS_DOXYGEN
157 noinst_DATA += doc/doxygen/html/index.html
158endif
159
160
161# macros for lib/libldapschema.a 146# macros for lib/libldapschema.a
162if LDAPUTILS_LIBLDAPSCHEMA 147if LDAPUTILS_LIBLDAPSCHEMA
163 noinst_LIBRARIES += lib/libldapschema.a 148 noinst_LIBRARIES += lib/libldapschema.a
@@ -379,24 +364,10 @@ MY_V_OIDSPEC = $(my__v_OIDSPEC_$(V))
379my__v_OIDSPEC_ = 364my__v_OIDSPEC_ =
380my__v_OIDSPEC_0 = @echo " OIDSPEC " $@; 365my__v_OIDSPEC_0 = @echo " OIDSPEC " $@;
381my__v_OIDSPEC_1 = 366my__v_OIDSPEC_1 =
382MY_V_DOXYGEN = $(my__v_DOXYGEN_$(V))
383my__v_DOXYGEN_ =
384my__v_DOXYGEN_0 = @echo " DOXYGEN " $@;
385my__v_DOXYGEN_1 =
386 367
387# custom targets
388.PHONY: doxygen
389
390doxygen: doc/doxygen/html/index.html
391 368
392doc/doxygen/html/index.html: doc/Doxyfile $(noinst_HEADERS) $(include_HEADERS) 369# custom targets
393 $(MY_V_DOXYGEN) rm -fR doc/doxygen; mkdir -p doc/doxygen; \ 370.PHONY:
394 cd $(top_srcdir); \
395 $(DOXYGEN) $(abs_top_builddir)/doc/Doxyfile > /dev/null;
396
397doc/Doxyfile: Makefile doc/Doxyfile.in
398 $(MY_V_DOXYGEN)$(DOXYGEN) -u $(srcdir)/doc/Doxyfile.in > /dev/null;
399 @$(do_subst_dt);
400 371
401doc/ldap2csv.1: Makefile $(srcdir)/doc/ldap2csv.1.in 372doc/ldap2csv.1: Makefile $(srcdir)/doc/ldap2csv.1.in
402 @$(do_subst_dt) 373 @$(do_subst_dt)
@@ -438,8 +409,6 @@ install-data-hook:
438uninstall-local: 409uninstall-local:
439 410
440clean-local: 411clean-local:
441 rm -fR $(builddir)/doc/doxygen
442 rm -fR $(srcdir)/doc/doxygen
443 412
444distclean-local: 413distclean-local:
445 rm -fR $(srcdir)/autom4te.cache 414 rm -fR $(srcdir)/autom4te.cache