From 4321b5850bf6e555bcec39e7fb9bd3790f1b1377 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 20 Jun 2017 18:46:39 +0200 Subject: [PATCH] Makefile: use automatic variables in the rule body --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 710870f..0034aab 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ bindir ?= $(PWD) -all: - sed -e 's#@bindir@#$(bindir)#g' open_wrapper.sh.in > open_wrapper.sh \ - && chmod +x open_wrapper.sh +open_wrapper.sh: open_wrapper.sh.in + sed -e 's#@bindir@#$(bindir)#g' $< > $@ \ + && chmod +x $@ clean: rm -f open_wrapper.sh -- 2.1.4