X-Git-Url: https://git.ao2.it/conversations_http_downloader.git/blobdiff_plain/7a126d7bd6992d7bc9f353d6c9b248a2e0742f36..4321b5850bf6e555bcec39e7fb9bd3790f1b1377:/Makefile

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