>From 38643347c8971ec16dd843b363c6b7eacdfb950a Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 11 Apr 2014 00:14:41 +0200 Subject: [PATCH] AUTOMAKE: Do not include makefile generated files into tarball MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 19e0139156df6c9a4ea292474fefd1238f540587..8b64fd14f841fbe59235aa7116cab4b2b6688980 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2227,12 +2227,12 @@ endif ####################### dist_init_SCRIPTS = -dist_systemdunit_DATA = -dist_systemdconf_DATA = +systemdunit_DATA = +systemdconf_DATA = if HAVE_SYSTEMD_UNIT - dist_systemdunit_DATA += \ + systemdunit_DATA += \ src/sysv/systemd/sssd.service - dist_systemdconf_DATA += \ + systemdconf_DATA += \ src/sysv/systemd/journal.conf else if HAVE_SUSE -- 1.9.0