diff options
| -rw-r--r-- | Makefile.am | 35 | ||||
| -rw-r--r-- | configure.ac | 11 | ||||
| m--------- | contrib/bindletools | 0 |
3 files changed, 12 insertions, 34 deletions
diff --git a/Makefile.am b/Makefile.am index 25f7a6b..02f5b75 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -232,25 +232,13 @@ CLEANFILES = \ | |||
| 232 | GIT_PACKAGE_VERSION_DIR=include | 232 | GIT_PACKAGE_VERSION_DIR=include |
| 233 | SUBST_EXPRESSIONS = \ | 233 | SUBST_EXPRESSIONS = \ |
| 234 | -e 's,[@]RELEASE_MONTH[@],@RELEASE_MONTH@,g' | 234 | -e 's,[@]RELEASE_MONTH[@],@RELEASE_MONTH@,g' |
| 235 | include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-autotools.am | 235 | include $(srcdir)/contrib/bindletools/build-aux/makefile-bindle.am |
| 236 | include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-subst.am | 236 | include $(srcdir)/contrib/bindletools/build-aux/makefile-autotools.am |
| 237 | include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-version.am | 237 | include $(srcdir)/contrib/bindletools/build-aux/makefile-subst.am |
| 238 | 238 | include $(srcdir)/contrib/bindletools/build-aux/makefile-version.am | |
| 239 | 239 | ||
| 240 | # custom targets | 240 | # custom targets |
| 241 | PHONY: git-package-version-check | 241 | PHONY: |
| 242 | |||
| 243 | git-package-version-check: | ||
| 244 | @if test -f $(srcdir)/.git/config;then \ | ||
| 245 | GPV=`git --git-dir=$(srcdir)/.git describe 2> /dev/null`; \ | ||
| 246 | GPV=`echo $${GPV}|sed -e 's/-/./g' -e 's/^v//g'`; \ | ||
| 247 | if test "x$${GPV}" != "x$(PACKAGE_VERSION)" && test "x$${GPV}" != "x";then \ | ||
| 248 | $(top_builddir)/config.status --recheck; \ | ||
| 249 | $(top_builddir)/config.status; \ | ||
| 250 | fi; \ | ||
| 251 | fi | ||
| 252 | |||
| 253 | $(srcdir)/acinclude.m4: git-package-version-check | ||
| 254 | 242 | ||
| 255 | doc/bitops.1: Makefile $(srcdir)/doc/bitops.1.in | 243 | doc/bitops.1: Makefile $(srcdir)/doc/bitops.1.in |
| 256 | $(do_subst_dt) | 244 | $(do_subst_dt) |
| @@ -274,19 +262,6 @@ include/dmsversion.h: Makefile $(srcdir)/include/dmsversion.h.in | |||
| 274 | $(mkdir_p) include | 262 | $(mkdir_p) include |
| 275 | $(do_subst_dt) | 263 | $(do_subst_dt) |
| 276 | 264 | ||
| 277 | license-tags: $(srcdir)/build-aux/dmstools.tags $(builddir)/src/codetagger | ||
| 278 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/AUTHORS | ||
| 279 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/acinclude.m4 | ||
| 280 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/configure.ac | ||
| 281 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/ChangeLog | ||
| 282 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/doc/codetagger.1.in | ||
| 283 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/Makefile.am | ||
| 284 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/NEWS | ||
| 285 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/README | ||
| 286 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/src/codetagger.c | ||
| 287 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/src/common.h | ||
| 288 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/dmstools.tags | ||
| 289 | $(builddir)/src/codetagger -f $(srcdir)/build-aux/dmstools.tags $(srcdir)/TODO | ||
| 290 | 265 | ||
| 291 | # local targets | 266 | # local targets |
| 292 | install-exec-local: | 267 | install-exec-local: |
diff --git a/configure.ac b/configure.ac index 31ffc64..c1f0afa 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -93,10 +93,6 @@ AC_PROG_LN_S | |||
| 93 | # GNU Libtool Support | 93 | # GNU Libtool Support |
| 94 | LT_INIT(dlopen disable-fast-install win32-dll) | 94 | LT_INIT(dlopen disable-fast-install win32-dll) |
| 95 | 95 | ||
| 96 | # custom configure options | ||
| 97 | AC_BINDLE_ENABLE_WARNINGS | ||
| 98 | AC_BINDLE_WITH_PERL | ||
| 99 | |||
| 100 | # enables getopt_long if header and functions were found | 96 | # enables getopt_long if header and functions were found |
| 101 | AC_CHECK_HEADERS([getopt.h], [AC_DEFINE_UNQUOTED(USE_GETOPT_LONG, 1, [Use GNU getopt_long])]) | 97 | AC_CHECK_HEADERS([getopt.h], [AC_DEFINE_UNQUOTED(USE_GETOPT_LONG, 1, [Use GNU getopt_long])]) |
| 102 | 98 | ||
| @@ -130,9 +126,16 @@ AC_CHECK_TYPES([sig_t], ,[have_signal=no],[#include <signal.h>]) | |||
| 130 | AC_SEARCH_LIBS([signal], ,,[have_signal=no]) | 126 | AC_SEARCH_LIBS([signal], ,,[have_signal=no]) |
| 131 | AM_CONDITIONAL([HAVE_SIGNAL], [test x$have_signal = xyes]) | 127 | AM_CONDITIONAL([HAVE_SIGNAL], [test x$have_signal = xyes]) |
| 132 | 128 | ||
| 129 | # initiates bindle tools macros | ||
| 130 | AC_BINDLE(contrib/bindletools) | ||
| 131 | |||
| 133 | # determine PACKAGE_VERSION via Git | 132 | # determine PACKAGE_VERSION via Git |
| 134 | AC_BINDLE_GIT_PACKAGE_VERSION([contrib/bindletools/build-aux/git-package-version.sh]) | 133 | AC_BINDLE_GIT_PACKAGE_VERSION([contrib/bindletools/build-aux/git-package-version.sh]) |
| 135 | 134 | ||
| 135 | # custom configure options | ||
| 136 | AC_BINDLE_ENABLE_WARNINGS | ||
| 137 | AC_BINDLE_WITH_PERL | ||
| 138 | |||
| 136 | # Creates outputs | 139 | # Creates outputs |
| 137 | AC_CONFIG_FILES([Makefile]) | 140 | AC_CONFIG_FILES([Makefile]) |
| 138 | AC_OUTPUT | 141 | AC_OUTPUT |
diff --git a/contrib/bindletools b/contrib/bindletools | |||
| Subproject 1fdd1f6ece8267ab83bb4af9b26bc6b05a756fb | Subproject 80e61f532c705b030a7fcdc70f952b9c38fec4a | ||
