URL: https://github.com/freeipa/freeipa/pull/251
Author: tiran
 Title: #251: Add rebuild rule for template files
Action: opened

PR body:
"""
CONFIG_STATUS_DEPENDENCIES ensure that 'make' will re-run configure
after any of the template files (freeipa.spec.in, ipasetup.py.in...)
have been altered.

Signed-off-by: Christian Heimes <chei...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/251/head:pr251
git checkout pr251
From 43807929a5af834e248845e1107e9455e3f7343d Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Thu, 17 Nov 2016 13:00:01 +0100
Subject: [PATCH] Add rebuild rule for template files

CONFIG_STATUS_DEPENDENCIES ensure that 'make' will re-run configure
after any of the template files (freeipa.spec.in, ipasetup.py.in...)
have been altered.

Signed-off-by: Christian Heimes <chei...@redhat.com>
---
 Makefile.am | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 8c0c494..840eb1b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,13 @@ EXTRA_DIST = .mailmap \
 	     pylintrc \
 	     pytest.ini
 
+# re-run configure after templates have been altered
+CONFIG_STATUS_DEPENDENCIES = \
+	     daemons/ipa-version.h.in \
+	     freeipa.spec.in \
+	     ipapython/version.py.in \
+	     ipasetup.py.in
+
 clean-local:
 	rm -rf "$(RPMBUILD)"
 	rm -rf "$(top_builddir)/dist"
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to