From 52134129ea6d2a6f0f166578f4dc2900c2676b52 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 3 Sep 2019 21:17:38 +0200 Subject: [PATCH] :wrench: honor DESTDIR --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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} -- 2.43.0