mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
38ac2a8fb2
After I tried to build libabigail on Debian, I realized the detection of python modules wasn't that great. The koji module wasn't present and yet the detection system tried to launch fedabipkgdiff regression tests. Woops. I was thinking about coming up with something easier to to update to add new modules to check for anyway, so I just dived in. I came up with a new autoconf macro of my own, AX_CHECK_PYTHON_MODULES, that lets you check for the presence of several python modules at once. This is more handy than having to call AX_PYTHON_MODULE for each module we want to detect. This fixes the detection issue I found and simplifies configure.ac. * configure.ac: Include autoconf-archive/ax_check_python_modules.m4 rather than autoconf-archive/ax_python_module.m4. Use AX_CHECK_PYTHON_MODULES rather than AX_PYTHON_MODULE. * Makefile.am: Add the new file autoconf-archive/ax_check_python_modules.m4 to source distribution and remove the older autoconf-archive/ax_python_module.m4 one. * autoconf-archive/ax_check_python_modules.m4: New file. * autoconf-archive/ax_python_module.m4: Remove. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
75 lines
1.6 KiB
Makefile
75 lines
1.6 KiB
Makefile
SUBDIRS = include src tools tests doc bash-completion
|
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
headers = config.h
|
|
|
|
m4datadir = $(datadir)/aclocal
|
|
m4data_DATA = $(srcdir)/abigail.m4
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = libabigail.pc
|
|
|
|
dist_noinst_DATA = default.abignore
|
|
abigaillibdir = $(pkglibdir)
|
|
abigaillib_DATA = default.abignore
|
|
|
|
#bashcompletiondir = $(datadir)/bash-completion/completions
|
|
#dist_bashcompletion_DATA =
|
|
|
|
EXTRA_DIST = \
|
|
autoconf-archive/ax_check_python_modules.m4 \
|
|
autoconf-archive/ax_prog_python_version.m4 \
|
|
autoconf-archive/ax_compare_version.m4 \
|
|
NEWS README COPYING ChangeLog \
|
|
COPYING-LGPLV2 COPYING-LGPLV3 \
|
|
COPYING-GPLV3 gen-changelog.py \
|
|
$(headers) $(m4data_DATA) \
|
|
libabigail.pc.in
|
|
|
|
# automake already tells which subdir is being entered.
|
|
# Don't make make repeat.
|
|
AM_MAKEFLAGS = --no-print-directory
|
|
|
|
.PHONY: doc
|
|
|
|
doc: html-doc man info
|
|
|
|
html-doc:
|
|
$(MAKE) -C doc html-doc
|
|
$(MAKE) -C doc/manuals html-doc
|
|
|
|
man:
|
|
$(MAKE) -C doc/manuals man
|
|
|
|
info:
|
|
$(MAKE) -C doc/manuals info
|
|
|
|
check-valgrind:
|
|
$(MAKE) -C tests check-valgrind
|
|
|
|
check-valgrind-recursive:
|
|
$(MAKE) -C tests check-valgrind-memcheck-recursive
|
|
|
|
update-changelog:
|
|
python $(srcdir)/gen-changelog.py > $(srcdir)/ChangeLog
|
|
|
|
TARBALL = $(PACKAGE_NAME)-$(VERSION).tar.gz
|
|
RELEASED_BRANCH = master
|
|
|
|
$(TARBALL): distcheck
|
|
|
|
tag-release-only:
|
|
git tag -m "$(PACKAGE_NAME) release $(VERSION)" \
|
|
"$(PACKAGE_NAME)-$(VERSION)" $(RELEASED_BRANCH)
|
|
|
|
tag-release: tag-release-only
|
|
|
|
upload-release-only:
|
|
scp $(TARBALL) sourceware.org:~ftp/pub/libabigail
|
|
|
|
tarball: $(TARBALL)
|
|
|
|
upload-release: tag-release
|
|
$(MAKE) tarball upload-release-only
|
|
|
|
release: upload-release
|