Makefile: use automatic variables in the rule body
[conversations_http_downloader.git] / Makefile
1 bindir ?= $(PWD)
2
3 open_wrapper.sh: open_wrapper.sh.in
4         sed -e 's#@bindir@#$(bindir)#g' $< > $@ \
5           && chmod +x $@
6
7 clean:
8         rm -f open_wrapper.sh