Build: merge ipatests/man/configure.ac to top-level configure.ac

At the same time, I removed unnecessary checks for mkdir etc. and added
missing check for gzip.

https://fedorahosted.org/freeipa/ticket/6418

Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Petr Spacek 2016-10-12 20:47:07 +02:00 committed by David Kupka
parent 6e1d777d28
commit 5e028b59bc
3 changed files with 5 additions and 28 deletions

View File

@ -106,9 +106,6 @@ client-autogen: version-update
cd client; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); fi
cd install; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); fi
tests-man-autogen: version-update
cd ipatests/man; if [ ! -e Makefile ]; then ../../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); fi
install: all server-install tests-install client-install
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \
@ -224,7 +221,7 @@ server-install: server
(cd ipaplatform && $(PYTHON) setup.py install --root $(DESTDIR)) || exit 1; \
fi
tests: version-update tests-man-autogen
tests: version-update
cd ipatests; $(PYTHON) setup.py build
cd ipatests/man && $(MAKE) all

View File

@ -304,9 +304,13 @@ AC_CONFIG_FILES([
daemons/ipa-slapi-plugins/ipa-sidgen/Makefile
daemons/ipa-slapi-plugins/ipa-range-check/Makefile
daemons/ipa-slapi-plugins/topology/Makefile
ipatests/man/Makefile
util/Makefile
])
dnl GZIP is used for compressing manual pages
AC_CHECK_PROG([GZIP], [gzip], [yes], [AC_MSG_ERROR(gzip not found)])
AC_OUTPUT
echo "

View File

@ -1,24 +0,0 @@
AC_PREREQ(2.59)
m4_include(../../version.m4)
AC_INIT([ipa-tests],
IPA_VERSION,
[https://hosted.fedoraproject.org/projects/freeipa/newticket])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AC_SUBST(VERSION)
AC_SUBST([INSTALL_DATA], ['$(INSTALL) -m 644 -p'])
AC_PROG_MKDIR_P
AC_PROG_AWK
AC_PROG_SED
# Files
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT