summaryrefslogtreecommitdiff
path: root/sysutils/lttng-ust/files/patch-tests_ust-elf_Makefile.am
blob: f791ae10fe3d5f760cc0895dbe671a80a3d06144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tests/ust-elf/Makefile.am.orig	2016-10-18 22:44:06 UTC
+++ tests/ust-elf/Makefile.am
@@ -23,6 +23,6 @@ EXTRA_DIST = test_ust_elf.in \
 	$(srcdir)/data/pic/hello.c \
 	$(srcdir)/data/pic/libhello.c
 
-$(noinst_SCRIPTS): %: %.in
-	sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
+$(noinst_SCRIPTS): $(noinst_SCRIPTS).in *
+	sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $(noinst_SCRIPTS).in > $@
 	chmod +x $@