Makefile.am revision a9c287bda3fc2a1e12cef2135ade96945f11ad01
6ae232055d4d8a97267517c5e50074c2c819941andextra_distcheck_flags =
6ae232055d4d8a97267517c5e50074c2c819941andif HAVE_DEVSHM
6ae232055d4d8a97267517c5e50074c2c819941and extra_distcheck_flags += --with-test-dir=/dev/shm
6ae232055d4d8a97267517c5e50074c2c819941andif WITH_JOURNALD
6ae232055d4d8a97267517c5e50074c2c819941and extra_distcheck_flags += --with-syslog=journald
6ae232055d4d8a97267517c5e50074c2c819941andDISTCHECK_CONFIGURE_FLAGS = --with-ldb-lib-dir="$$dc_install_base"/lib/ldb \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen --disable-dbus-tests \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen --enable-all-experimental-features \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen $(extra_distcheck_flags) \
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen $(AUX_DISTCHECK_CONFIGURE_FLAGS)
6ae232055d4d8a97267517c5e50074c2c819941andSUBDIRS = po
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowenif HAVE_MANPAGES
6ae232055d4d8a97267517c5e50074c2c819941and# Some old versions of automake don't define builddir
b43f840409794ed298e8634f6284741f193b6c4ftakashibuilddir ?= .
6ae232055d4d8a97267517c5e50074c2c819941andDOXYGEN = @DOXYGEN@
b43f840409794ed298e8634f6284741f193b6c4ftakashiDISTSETUPOPTS =
bc9d4698fce0238d2f6f2682e99423ebb1149976rbowenif HAVE_DEBIAN
6ae232055d4d8a97267517c5e50074c2c819941andDISTSETUPOPTS += --install-layout=deb
b43f840409794ed298e8634f6284741f193b6c4ftakashisssdlibexecdir = $(libexecdir)/sssd
b43f840409794ed298e8634f6284741f193b6c4ftakashisssdlibdir = $(libdir)/sssd
b43f840409794ed298e8634f6284741f193b6c4ftakashildblibdir = @ldblibdir@
b43f840409794ed298e8634f6284741f193b6c4ftakashiif BUILD_KRB5_LOCATOR_PLUGIN
6ae232055d4d8a97267517c5e50074c2c819941andkrb5plugindir = @krb5pluginpath@
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_KRB5_LOCALAUTH_PLUGIN
6ae232055d4d8a97267517c5e50074c2c819941andkrb5localauth_plugindir = @appmodpath@
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_PAC_RESPONDER
6ae232055d4d8a97267517c5e50074c2c819941andkrb5authdata_plugindir = @krb5authdatapluginpath@
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_CIFS_IDMAP_PLUGIN
6ae232055d4d8a97267517c5e50074c2c819941andcifsplugindir = @cifspluginpath@
6ae232055d4d8a97267517c5e50074c2c819941andsssdconfdir = $(sysconfdir)/sssd
6ae232055d4d8a97267517c5e50074c2c819941andsssddatadir = $(datadir)/sssd
6ae232055d4d8a97267517c5e50074c2c819941andsssdapiplugindir = $(sssddatadir)/sssd.api.d
6ae232055d4d8a97267517c5e50074c2c819941anddbuspolicydir = $(sysconfdir)/dbus-1/system.d
6ae232055d4d8a97267517c5e50074c2c819941anddbusservicedir = $(datadir)/dbus-1/system-services
6ae232055d4d8a97267517c5e50074c2c819941andlocaledir = @localedir@
6ae232055d4d8a97267517c5e50074c2c819941andnsslibdir = @nsslibdir@
6ae232055d4d8a97267517c5e50074c2c819941andpamlibdir = @pammoddir@
6ae232055d4d8a97267517c5e50074c2c819941andautofslibdir = @appmodpath@
6ae232055d4d8a97267517c5e50074c2c819941andnfslibdir = @nfsidmaplibdir@
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohdbpath = @dbpath@
6ae232055d4d8a97267517c5e50074c2c819941andpluginpath = @pluginpath@
6ae232055d4d8a97267517c5e50074c2c819941andpidpath = @pidpath@
6ae232055d4d8a97267517c5e50074c2c819941andpipepath = @pipepath@
6ae232055d4d8a97267517c5e50074c2c819941andmcpath = @mcpath@
6ae232055d4d8a97267517c5e50074c2c819941andinitdir = @initdir@
6ae232055d4d8a97267517c5e50074c2c819941andsystemdunitdir = @systemdunitdir@
6ae232055d4d8a97267517c5e50074c2c819941andsystemdconfdir = @systemdconfdir@
6ae232055d4d8a97267517c5e50074c2c819941andlogpath = @logpath@
6ae232055d4d8a97267517c5e50074c2c819941andpubconfpath = @pubconfpath@
6ae232055d4d8a97267517c5e50074c2c819941andgpocachepath = @gpocachepath@
6ae232055d4d8a97267517c5e50074c2c819941andpkgconfigdir = $(libdir)/pkgconfig
6ae232055d4d8a97267517c5e50074c2c819941andkrb5rcachedir = @krb5rcachedir@
6ae232055d4d8a97267517c5e50074c2c819941andsudolibdir = @sudolibpath@
6ae232055d4d8a97267517c5e50074c2c819941andUNICODE_LIBS=@UNICODE_LIBS@
6ae232055d4d8a97267517c5e50074c2c819941andAM_CFLAGS =
6ae232055d4d8a97267517c5e50074c2c819941andif WANT_AUX_INFO
6ae232055d4d8a97267517c5e50074c2c819941and AM_CFLAGS += -aux-info $@.X
6ae232055d4d8a97267517c5e50074c2c819941andif HAVE_GCC
6ae232055d4d8a97267517c5e50074c2c819941and AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
6ae232055d4d8a97267517c5e50074c2c819941and -Wcast-qual -Wcast-align -Wwrite-strings -Wundef \
6ae232055d4d8a97267517c5e50074c2c819941and -Werror-implicit-function-declaration -Winit-self \
6ae232055d4d8a97267517c5e50074c2c819941and -fno-strict-aliasing \
6ae232055d4d8a97267517c5e50074c2c819941and -std=gnu99
6ae232055d4d8a97267517c5e50074c2c819941andpkgconfig_DATA =
6ae232055d4d8a97267517c5e50074c2c819941andACLOCAL_AMFLAGS = -I m4 -I .
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SSH
6ae232055d4d8a97267517c5e50074c2c819941andbin_PROGRAMS = \
6ae232055d4d8a97267517c5e50074c2c819941and sss_ssh_authorizedkeys \
6ae232055d4d8a97267517c5e50074c2c819941and sss_ssh_knownhostsproxy
6ae232055d4d8a97267517c5e50074c2c819941andsbin_PROGRAMS = \
6ae232055d4d8a97267517c5e50074c2c819941and sss_useradd \
6ae232055d4d8a97267517c5e50074c2c819941and sss_userdel \
6ae232055d4d8a97267517c5e50074c2c819941and sss_groupadd \
6ae232055d4d8a97267517c5e50074c2c819941and sss_groupdel \
6ae232055d4d8a97267517c5e50074c2c819941and sss_usermod \
6ae232055d4d8a97267517c5e50074c2c819941and sss_groupmod \
6ae232055d4d8a97267517c5e50074c2c819941and sss_groupshow \
6ae232055d4d8a97267517c5e50074c2c819941and sss_cache \
6ae232055d4d8a97267517c5e50074c2c819941and sss_debuglevel \
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS = \
6ae232055d4d8a97267517c5e50074c2c819941and sssd_nss \
6ae232055d4d8a97267517c5e50074c2c819941and sssd_pam \
6ae232055d4d8a97267517c5e50074c2c819941and krb5_child \
6ae232055d4d8a97267517c5e50074c2c819941and ldap_child \
6ae232055d4d8a97267517c5e50074c2c819941and proxy_child \
6ae232055d4d8a97267517c5e50074c2c819941and sss_signal \
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SUDO
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS += sssd_sudo
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_AUTOFS
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS += sssd_autofs
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SSH
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS += sssd_ssh
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_IFP
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS += sssd_ifp
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SAMBA
6ae232055d4d8a97267517c5e50074c2c819941andsssdlibexec_PROGRAMS += gpo_child
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_PAC_RESPONDER
6ae232055d4d8a97267517c5e50074c2c819941and sssdlibexec_PROGRAMS += sssd_pac
6ae232055d4d8a97267517c5e50074c2c819941andif HAVE_CHECK
6ae232055d4d8a97267517c5e50074c2c819941and non_interactive_check_based_tests = \
6ae232055d4d8a97267517c5e50074c2c819941and dlopen-tests \
6ae232055d4d8a97267517c5e50074c2c819941and sysdb-tests \
6ae232055d4d8a97267517c5e50074c2c819941and strtonum-tests \
6ae232055d4d8a97267517c5e50074c2c819941and resolv-tests \
6ae232055d4d8a97267517c5e50074c2c819941and krb5-utils-tests \
6ae232055d4d8a97267517c5e50074c2c819941and check_and_open-tests \
6ae232055d4d8a97267517c5e50074c2c819941and files-tests \
6ae232055d4d8a97267517c5e50074c2c819941and refcount-tests \
6ae232055d4d8a97267517c5e50074c2c819941and fail_over-tests \
6ae232055d4d8a97267517c5e50074c2c819941and find_uid-tests \
6ae232055d4d8a97267517c5e50074c2c819941and auth-tests \
6ae232055d4d8a97267517c5e50074c2c819941and ipa_ldap_opt-tests \
6ae232055d4d8a97267517c5e50074c2c819941and ad_ldap_opt-tests \
6ae232055d4d8a97267517c5e50074c2c819941and simple_access-tests \
6ae232055d4d8a97267517c5e50074c2c819941and crypto-tests \
6ae232055d4d8a97267517c5e50074c2c819941and util-tests \
6ae232055d4d8a97267517c5e50074c2c819941and debug-tests \
6ae232055d4d8a97267517c5e50074c2c819941and ipa_hbac-tests \
6ae232055d4d8a97267517c5e50074c2c819941and sss_idmap-tests \
6ae232055d4d8a97267517c5e50074c2c819941and responder_socket_access-tests \
6ae232055d4d8a97267517c5e50074c2c819941and safe-format-tests
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SSH
6ae232055d4d8a97267517c5e50074c2c819941and non_interactive_check_based_tests += sysdb_ssh-tests
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_IFP
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_CONFIG_LIB
6ae232055d4d8a97267517c5e50074c2c819941and non_interactive_check_based_tests += sss_config-tests
6ae232055d4d8a97267517c5e50074c2c819941andendif # BUILD_CONFIG_LIB
6ae232055d4d8a97267517c5e50074c2c819941andendif # BUILD_IFP
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_DBUS_TESTS
6ae232055d4d8a97267517c5e50074c2c819941and non_interactive_check_based_tests += \
6ae232055d4d8a97267517c5e50074c2c819941and sbus_tests \
6ae232055d4d8a97267517c5e50074c2c819941and sbus_codegen_tests
6ae232055d4d8a97267517c5e50074c2c819941andendif # BUILD_DBUS_TESTS
6ae232055d4d8a97267517c5e50074c2c819941andendif # HAVE_CHECK
6ae232055d4d8a97267517c5e50074c2c819941andif HAVE_CMOCKA
6ae232055d4d8a97267517c5e50074c2c819941and non_interactive_cmocka_based_tests = \
6ae232055d4d8a97267517c5e50074c2c819941and nss-srv-tests \
6ae232055d4d8a97267517c5e50074c2c819941and test-find-uid \
6ae232055d4d8a97267517c5e50074c2c819941and test-negcache \
6ae232055d4d8a97267517c5e50074c2c819941and test-authtok \
6ae232055d4d8a97267517c5e50074c2c819941and sss_nss_idmap-tests \
6ae232055d4d8a97267517c5e50074c2c819941and dyndns-tests \
6ae232055d4d8a97267517c5e50074c2c819941and fqnames-tests \
6ae232055d4d8a97267517c5e50074c2c819941and nestedgroups-tests \
6ae232055d4d8a97267517c5e50074c2c819941and test_sss_idmap \
6ae232055d4d8a97267517c5e50074c2c819941and test_ipa_idmap \
6ae232055d4d8a97267517c5e50074c2c819941and test_utils \
6ae232055d4d8a97267517c5e50074c2c819941and ad_common_tests \
6ae232055d4d8a97267517c5e50074c2c819941and dp_opt_tests \
6ae232055d4d8a97267517c5e50074c2c819941and responder-get-domains-tests \
6ae232055d4d8a97267517c5e50074c2c819941and sbus-internal-tests \
6ae232055d4d8a97267517c5e50074c2c819941and sss_sifp-tests \
6ae232055d4d8a97267517c5e50074c2c819941and test_search_bases \
6ae232055d4d8a97267517c5e50074c2c819941and sdap-tests \
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_IFP
6ae232055d4d8a97267517c5e50074c2c819941andnon_interactive_cmocka_based_tests += ifp_tests
6ae232055d4d8a97267517c5e50074c2c819941andendif # BUILD_IFP
6ae232055d4d8a97267517c5e50074c2c819941andif BUILD_SAMBA
6ae232055d4d8a97267517c5e50074c2c819941andnon_interactive_cmocka_based_tests += \
6ae232055d4d8a97267517c5e50074c2c819941and ad_access_filter_tests \
6ae232055d4d8a97267517c5e50074c2c819941and ad_gpo_tests
6ae232055d4d8a97267517c5e50074c2c819941andendif # HAVE_CMOCKA
bc9d4698fce0238d2f6f2682e99423ebb1149976rbowencheck_PROGRAMS = \
6ae232055d4d8a97267517c5e50074c2c819941and stress-tests \
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung krb5-child-test \
727872d18412fc021f03969b8641810d8896820bhumbedooh $(non_interactive_cmocka_based_tests) \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(non_interactive_check_based_tests)
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohPYTHON_TESTS =
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohif BUILD_PYTHON_BINDINGS
0d0ba3a410038e179b695446bb149cce6264e0abndTEST_EXTENSIONS = .py
0d0ba3a410038e179b695446bb149cce6264e0abnd $(PYTHON_TESTS) \
727872d18412fc021f03969b8641810d8896820bhumbedooh $(non_interactive_cmocka_based_tests) \
0d0ba3a410038e179b695446bb149cce6264e0abnd $(non_interactive_check_based_tests)
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohsssdlib_LTLIBRARIES = \
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndif BUILD_SAMBA
6ae232055d4d8a97267517c5e50074c2c819941andsssdlib_LTLIBRARIES += \
SSS_CRYPT_SOURCES = src/util/crypto/nss/nss_base64.c \
SSS_CRYPT_SOURCES = src/util/crypto/libcrypto/crypto_base64.c \
pysss.la \
-I$(srcdir)/src/sss_client \
-DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\" \
EXTRA_DIST = build/config.rpath
dist_noinst_HEADERS += src/util/crypto/nss/nss_util.h
pkglib_LTLIBRARIES += libsss_debug.la
pkglib_LTLIBRARIES += libsss_child.la
libsss_child_la_SOURCES = src/util/child_common.c
pkglib_LTLIBRARIES += libsss_util.la
libsss_util_la_SOURCES += src/db/sysdb_sudo.c
pkglib_LTLIBRARIES += libsss_config.la
lib_LTLIBRARIES = libipa_hbac.la \
pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc
libipa_hbac_la_DEPENDENCIES = src/providers/ipa/ipa_hbac.exports
-Wl,--version-script,$(srcdir)/src/providers/ipa/ipa_hbac.exports \
dist_noinst_DATA += src/providers/ipa/ipa_hbac.exports
pkgconfig_DATA += src/lib/idmap/sss_idmap.pc
libsss_idmap_la_DEPENDENCIES = src/lib/idmap/sss_idmap.exports
-Wl,--version-script,$(srcdir)/src/lib/idmap/sss_idmap.exports \
dist_noinst_DATA += src/lib/idmap/sss_idmap.exports
pkgconfig_DATA += src/sss_client/idmap/sss_nss_idmap.pc
libsss_nss_idmap_la_DEPENDENCIES = src/sss_client/idmap/sss_nss_idmap.exports
-Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.exports \
dist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.exports
lib_LTLIBRARIES += libwbclient.la
pkgconfig_DATA += src/sss_client/libwbclient/wbclient.pc
EXTRA_libwbclient_la_DEPENDENCIES = src/sss_client/libwbclient/wbclient.exports
-Wl,--version-script,$(srcdir)/src/sss_client/libwbclient/wbclient.exports \
dist_noinst_DATA += src/sss_client/libwbclient/wbclient.exports
include_HEADERS += src/sss_client/libwbclient/wbclient.h
lib_LTLIBRARIES += libsss_simpleifp.la
pkgconfig_DATA += src/lib/sifp/sss_simpleifp.pc
-I$(top_srcdir)/src/lib/sifp
-Wl,--version-script,$(srcdir)/src/lib/sifp/sss_simpleifp.exports \
dist_noinst_DATA += src/lib/sifp/sss_simpleifp.exports
$(srcdir)/src/tests/sbus_codegen_tests.xml \
$(srcdir)/src/monitor/monitor_iface.xml \
$(srcdir)/src/providers/data_provider_iface.xml \
$(srcdir)/src/responder/ifp/ifp_iface.xml
SBUS_CODEGEN = src/sbus/sbus_codegen
$(CODEGEN_XML:.xml=_generated.c) \
$(CODEGEN_XML:.xml=_generated.h)
sssd_ifp_LDADD += libsss_config.la
-Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
ldb_mod_test_dir: memberof.la
cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
-Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \
-Wl,--version-script,$(srcdir)/src/sss_client/idmap/sss_nss_idmap.unit_tests
dist_noinst_DATA += src/sss_client/idmap/sss_nss_idmap.unit_tests
-I$(top_srcdir)/src/lib/sifp
pam_test_client_SOURCES = src/sss_client/pam_test_client.c
nsslib_LTLIBRARIES = libnss_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_nss.exports
nfslib_LTLIBRARIES = sss.la
pamlib_LTLIBRARIES = pam_sss.la
-Wl,--version-script,$(srcdir)/src/sss_client/sss_pam.exports
-Wl,--version-script,$(srcdir)/src/sss_client/sss_sudo.exports \
sudolib_LTLIBRARIES = libsss_sudo.la
autofslib_LTLIBRARIES = libsss_autofs.la
-Wl,--version-script,$(srcdir)/src/sss_client/autofs/sss_autofs.exports
dist_noinst_DATA += src/sss_client/sss_sudo.exports
dist_noinst_DATA += src/sss_client/autofs/sss_autofs.exports
pkglib_LTLIBRARIES += libsss_krb5_common.la
pkglib_LTLIBRARIES += libsss_ldap_common.la
pkglib_LTLIBRARIES += libsss_ad_common.la
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
$(MAKE) -C src/man update-po
@$(MKDIR_P) src/sysv/systemd/
@$(MKDIR_P) src/sysv/systemd/
$(DESTDIR)$(pubconfpath)/krb5.include.d \
$(DOXYGEN) src/doxy.config
$(DOXYGEN) src/providers/ipa/ipa_hbac.doxy
$(DOXYGEN) src/lib/idmap/sss_idmap.doxy
$(DOXYGEN) src/sss_client/idmap/sss_nss_idmap.doxy
$(DOXYGEN) src/lib/sifp/sss_simpleifp.doxy
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py:
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py:
$(abs_builddir)/src/config/SSSDConfig/ipachangeconf.py \
$(abs_builddir)/src/config/SSSDConfig/sssd_upgrade_config.py
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --record=$(abs_builddir)/src/config/.files; \
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config install $(DISTSETUPOPTS) --prefix=$(PYTHON_PREFIX) --root=$(DESTDIR) --record=$(abs_builddir)/src/config/.files; \
rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \
$(DESTDIR)/$(nsslibdir)/libnss_sss.so
if [ -f $(abs_builddir)/src/config/.files ]; then \
cat $(abs_builddir)/src/config/.files | xargs -iq rm -f $(DESTDIR)/q; \
rm $(abs_builddir)/src/config/.files ; \
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/ipachangeconf.py ; \
if [ ! $(srcdir)/src/config/SSSDConfig/ipachangeconf.py -ef $(builddir)/src/config/SSSDConfig/ipachangeconf.py ]; then \
rm -f $(builddir)/src/config/SSSDConfig/sssd_upgrade_config.py ; \
rm -f $(builddir)/src/config/SSSDConfig/*.pyc
cd $(builddir)/src/config; $(PYTHON) setup.py build --build-base $(abs_builddir)/src/config clean --all
rm -f $(builddir)/src/sysv/systemd/sssd.service
rm -f $(builddir)/src/sysv/systemd/journal.conf
git checkout $(srcdir)/po $(srcdir)/src/man/po
cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS
cp $(distdir).tar.gz $(RPMBUILD)/SOURCES
rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
-bs SPECS/sssd.spec
sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d.%H%M`.git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4