>From 5ff0c49a50236da734f7f48092893779579d6115 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5abaf1778de4fd5286b13d3bc0bb35817800e3d8..0e861dfb01cea7fbea4fa9f5e306f44f12d464d5 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 -- 1.9.0