From baf3646f5ac2c76d6c2ca59c465d2e2431664274 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 11 Apr 2014 00:14:41 +0200 Subject: 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 Reviewed-by: Jakub Hrozek --- Makefile.am | 4 ++-- 1 file 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 -- cgit