From: fennecdjay Date: Tue, 3 Sep 2019 19:17:38 +0000 (+0200) Subject: :wrench: honor DESTDIR X-Git-Tag: nightly~2240 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=52134129ea6d2a6f0f166578f4dc2900c2676b52;p=gwion.git :wrench: honor DESTDIR --- diff --git a/Makefile b/Makefile index dcc1dea6..9866803f 100644 --- a/Makefile +++ b/Makefile @@ -104,10 +104,12 @@ src/arg.o: @echo $@: config.mk >> $(DEPDIR)/$(@F:.o=.d) install: ${PRG} - install ${PRG} ${PREFIX}/bin +#! install ${PRG} ${PREFIX}/bin + install ${PRG} ${DESTDIR}/bin uninstall: - rm ${PREFIX}/${PRG} +# rm ${PREFIX}/${PRG} + rm ${DESTDIR}/${PRG} test: @bash help/test.sh ${test_dir}