mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Build: promote daemons/configure.ac to top-level configure.ac
Top-level Makefile is still not managed by Automake (e.g. hand-made). This is preparatory work. Other configure.ac files will be gradually merged into the top-level one. After that we will be able to throw-away the hand-made top-level Makefile and use Automake for everything. 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:
parent
41da873205
commit
25dab77301
10
Makefile
10
Makefile
@ -99,8 +99,8 @@ client-check: client-autogen
|
||||
|
||||
bootstrap-autogen: version-update client-autogen
|
||||
@echo "Building IPA $(IPA_VERSION)"
|
||||
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR)
|
||||
cd asn1; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); fi
|
||||
cd daemons; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR) --with-openldap; fi
|
||||
cd install; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); fi
|
||||
|
||||
client-autogen: version-update
|
||||
@ -252,8 +252,10 @@ archive-cleanup:
|
||||
tarballs: local-archive
|
||||
-mkdir -p dist/sources
|
||||
# tar up clean sources
|
||||
cd dist/$(TARBALL_PREFIX); ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR)
|
||||
cd dist/$(TARBALL_PREFIX)/asn1; make distclean
|
||||
cd dist/$(TARBALL_PREFIX)/daemons; make distclean
|
||||
cd dist/$(TARBALL_PREFIX)/client; ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); make distclean
|
||||
cd dist/$(TARBALL_PREFIX)/daemons; ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); make distclean
|
||||
cd dist/$(TARBALL_PREFIX)/install; ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(LIBDIR); make distclean
|
||||
cd dist; tar cfz sources/$(TARBALL) $(TARBALL_PREFIX)
|
||||
rm -rf dist/$(TARBALL_PREFIX)
|
||||
@ -309,13 +311,13 @@ clean: version-update
|
||||
rm -f *~
|
||||
|
||||
distclean: version-update
|
||||
touch daemons/NEWS daemons/README daemons/AUTHORS daemons/ChangeLog
|
||||
touch NEWS AUTHORS ChangeLog
|
||||
touch install/NEWS install/README install/AUTHORS install/ChangeLog
|
||||
@for subdir in $(SUBDIRS); do \
|
||||
(cd $$subdir && $(MAKE) $@) || exit 1; \
|
||||
done
|
||||
rm -fr $(RPMBUILD) dist build
|
||||
rm -f daemons/NEWS daemons/README daemons/AUTHORS daemons/ChangeLog
|
||||
rm -f NEWS AUTHORS ChangeLog
|
||||
rm -f install/NEWS install/README install/AUTHORS install/ChangeLog
|
||||
|
||||
maintainer-clean: clean
|
||||
|
@ -1,11 +1,11 @@
|
||||
AC_PREREQ(2.59)
|
||||
m4_include(../version.m4)
|
||||
m4_include(version.m4)
|
||||
AC_INIT([ipa-server],
|
||||
IPA_VERSION,
|
||||
[https://hosted.fedoraproject.org/projects/freeipa/newticket])
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_SUBDIRS([../asn1])
|
||||
AC_CONFIG_SUBDIRS([asn1])
|
||||
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||
@ -282,28 +282,28 @@ AC_SUBST(LDFLAGS)
|
||||
# Files
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
../asn1/Makefile
|
||||
ipa-kdb/Makefile
|
||||
ipa-sam/Makefile
|
||||
ipa-otpd/Makefile
|
||||
ipa-slapi-plugins/Makefile
|
||||
ipa-slapi-plugins/libotp/Makefile
|
||||
ipa-slapi-plugins/ipa-cldap/Makefile
|
||||
ipa-slapi-plugins/ipa-dns/Makefile
|
||||
ipa-slapi-plugins/ipa-enrollment/Makefile
|
||||
ipa-slapi-plugins/ipa-lockout/Makefile
|
||||
ipa-slapi-plugins/ipa-otp-counter/Makefile
|
||||
ipa-slapi-plugins/ipa-otp-lasttoken/Makefile
|
||||
ipa-slapi-plugins/ipa-pwd-extop/Makefile
|
||||
ipa-slapi-plugins/ipa-extdom-extop/Makefile
|
||||
ipa-slapi-plugins/ipa-winsync/Makefile
|
||||
ipa-slapi-plugins/ipa-version/Makefile
|
||||
ipa-slapi-plugins/ipa-uuid/Makefile
|
||||
ipa-slapi-plugins/ipa-modrdn/Makefile
|
||||
ipa-slapi-plugins/ipa-sidgen/Makefile
|
||||
ipa-slapi-plugins/ipa-range-check/Makefile
|
||||
ipa-slapi-plugins/topology/Makefile
|
||||
asn1/Makefile
|
||||
daemons/Makefile
|
||||
daemons/ipa-kdb/Makefile
|
||||
daemons/ipa-sam/Makefile
|
||||
daemons/ipa-otpd/Makefile
|
||||
daemons/ipa-slapi-plugins/Makefile
|
||||
daemons/ipa-slapi-plugins/libotp/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-cldap/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-dns/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-enrollment/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-lockout/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-otp-counter/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-otp-lasttoken/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-pwd-extop/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-extdom-extop/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-winsync/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-version/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-uuid/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-modrdn/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-sidgen/Makefile
|
||||
daemons/ipa-slapi-plugins/ipa-range-check/Makefile
|
||||
daemons/ipa-slapi-plugins/topology/Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
@ -667,7 +667,7 @@ rm -f ipaplatform/constants.py
|
||||
make LIBDIR=%{_libdir} version-update
|
||||
cd client; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}; cd ..
|
||||
%if ! %{ONLY_CLIENT}
|
||||
cd daemons; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir} --with-openldap; cd ..
|
||||
./autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}
|
||||
cd install; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}; cd ..
|
||||
%endif # ONLY_CLIENT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user