]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
trunk: fix .SECONDARY in modular makefile to work around a bug in make 3.81.
authorChris PeBenito <cpebenito@tresys.com>
Mon, 17 Dec 2007 20:17:34 +0000 (20:17 +0000)
committerChris PeBenito <cpebenito@tresys.com>
Mon, 17 Dec 2007 20:17:34 +0000 (20:17 +0000)
Rules.modular

index a63a00617447b6cbd7a06f8acd6f5f23e22b9721..e832d79ad4f499210e5981fa1610d3f37dcb00a2 100644 (file)
@@ -30,8 +30,7 @@ vpath %.te $(all_layers)
 vpath %.if $(all_layers)
 vpath %.fc $(all_layers)
 
-# broken in make 3.81:
-#.SECONDARY:
+.SECONDARY: $(addprefix $(tmpdir)/,$(mod_pkgs:.pp=.mod)) $(addprefix $(tmpdir)/,$(mod_pkgs:.pp=.mod.fc))
 
 ########################################
 #