summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-04-11 00:14:41 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-11 17:50:14 +0200
commitbaf3646f5ac2c76d6c2ca59c465d2e2431664274 (patch)
tree9982a9675d3142044d225d0dcfff8f8a467036a0 /Makefile.am
parent4140552218c7180d5460c2d76f24733c9fc9188f (diff)
downloadsssd-baf3646f5ac2c76d6c2ca59c465d2e2431664274.tar.gz
sssd-baf3646f5ac2c76d6c2ca59c465d2e2431664274.tar.xz
sssd-baf3646f5ac2c76d6c2ca59c465d2e2431664274.zip
AUTOMAKE: Do not include makefile generated files into tarball
sssd.service was assigned to the dist_systemdunit_DATA variable. Automake will install this file into the systemd unit directory after building it if necessary. Automake will also include this generated file in the tarball. As a result, when building sssd from the tarball, the paths will be not recreated. The files in DATA primaries are added as dependencies to the all target via the internal all-am target. If sssd.service doesn’t exist, make will look for a rule to build it. Since there is such a rule, make will simply execute that rule when I build the all target. Resolves: https://fedorahosted.org/sssd/ticket/2314 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 5abaf1778..0e861dfb0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2001,9 +2001,9 @@ endif
#######################
dist_init_SCRIPTS =
-dist_systemdunit_DATA =
+systemdunit_DATA =
if HAVE_SYSTEMD_UNIT
- dist_systemdunit_DATA += \
+ systemdunit_DATA += \
src/sysv/systemd/sssd.service
else
if HAVE_SUSE