diff options
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 35 |
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) | |||
| 39 | DIST_SUBDIRS = $(subdirs) | 39 | DIST_SUBDIRS = $(subdirs) |
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | # directory locations | ||
| 43 | doxygendir = $(docdir)/doxygen | ||
| 44 | |||
| 45 | |||
| 46 | # GNU make options | 42 | # GNU make options |
| 47 | V = 0 | 43 | V = 0 |
| 48 | 44 | ||
| @@ -77,7 +73,6 @@ LDADD = | |||
| 77 | bin_PROGRAMS = | 73 | bin_PROGRAMS = |
| 78 | check_PROGRAMS = | 74 | check_PROGRAMS = |
| 79 | doc_DATA = doc/oid.txt | 75 | doc_DATA = doc/oid.txt |
| 80 | doxygen_DATA = | ||
| 81 | noinst_DATA = | 76 | noinst_DATA = |
| 82 | EXTRA_PROGRAMS = | 77 | EXTRA_PROGRAMS = |
| 83 | include_HEADERS = | 78 | include_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 |
| 148 | DISTCHECK_CONFIGURE_FLAGS = --enable-strictwarnings \ | 140 | DISTCHECK_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 | ||
| 156 | if LDAPUTILS_DOXYGEN | ||
| 157 | noinst_DATA += doc/doxygen/html/index.html | ||
| 158 | endif | ||
| 159 | |||
| 160 | |||
| 161 | # macros for lib/libldapschema.a | 146 | # macros for lib/libldapschema.a |
| 162 | if LDAPUTILS_LIBLDAPSCHEMA | 147 | if 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)) | |||
| 379 | my__v_OIDSPEC_ = | 364 | my__v_OIDSPEC_ = |
| 380 | my__v_OIDSPEC_0 = @echo " OIDSPEC " $@; | 365 | my__v_OIDSPEC_0 = @echo " OIDSPEC " $@; |
| 381 | my__v_OIDSPEC_1 = | 366 | my__v_OIDSPEC_1 = |
| 382 | MY_V_DOXYGEN = $(my__v_DOXYGEN_$(V)) | ||
| 383 | my__v_DOXYGEN_ = | ||
| 384 | my__v_DOXYGEN_0 = @echo " DOXYGEN " $@; | ||
| 385 | my__v_DOXYGEN_1 = | ||
| 386 | 367 | ||
| 387 | # custom targets | ||
| 388 | .PHONY: doxygen | ||
| 389 | |||
| 390 | doxygen: doc/doxygen/html/index.html | ||
| 391 | 368 | ||
| 392 | doc/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 | |||
| 397 | doc/Doxyfile: Makefile doc/Doxyfile.in | ||
| 398 | $(MY_V_DOXYGEN)$(DOXYGEN) -u $(srcdir)/doc/Doxyfile.in > /dev/null; | ||
| 399 | @$(do_subst_dt); | ||
| 400 | 371 | ||
| 401 | doc/ldap2csv.1: Makefile $(srcdir)/doc/ldap2csv.1.in | 372 | doc/ldap2csv.1: Makefile $(srcdir)/doc/ldap2csv.1.in |
| 402 | @$(do_subst_dt) | 373 | @$(do_subst_dt) |
| @@ -438,8 +409,6 @@ install-data-hook: | |||
| 438 | uninstall-local: | 409 | uninstall-local: |
| 439 | 410 | ||
| 440 | clean-local: | 411 | clean-local: |
| 441 | rm -fR $(builddir)/doc/doxygen | ||
| 442 | rm -fR $(srcdir)/doc/doxygen | ||
| 443 | 412 | ||
| 444 | distclean-local: | 413 | distclean-local: |
| 445 | rm -fR $(srcdir)/autom4te.cache | 414 | rm -fR $(srcdir)/autom4te.cache |
