From 893a5768ae55d8f739eb3e61f52494741495a625 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 12 Jun 2016 11:29:44 -0400 Subject: (systemd) at.addprefix: fix --- build-aux/Makefile.head.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/Makefile.head.mk b/build-aux/Makefile.head.mk index 47c17c9..11b1374 100644 --- a/build-aux/Makefile.head.mk +++ b/build-aux/Makefile.head.mk @@ -35,7 +35,7 @@ at.relto = $(foreach p,$2,$(call _at.relto,$1,$p)) at.path = $(call at.relto,.,$1) _at.addprefix = $(if $(filter /%,$2),$2,$1/$2) -at.addprefix = $(call at.path,$(foreach f,$2, $(call _at.addprefix,$1,$f) )) +at.addprefix = $(foreach f,$2, $(addsuffix $(if $(filter %/,$f),/),$(call at.path,$(call _at.addprefix,$1,$f)) )) define at.nl -- cgit v1.2.3-2-g168b