From a5f7ebcbb4ced23dfb2d5509a1cbc0879de671bd Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 3 Sep 2019 21:23:58 +0200 Subject: [PATCH] :wrench: honor DESTDIR --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9866803f..9e96c248 100644 --- a/Makefile +++ b/Makefile @@ -104,12 +104,10 @@ src/arg.o: @echo $@: config.mk >> $(DEPDIR)/$(@F:.o=.d) install: ${PRG} -#! install ${PRG} ${PREFIX}/bin - install ${PRG} ${DESTDIR}/bin + install ${PRG} ${DESTDIR}/${PREFIX}/bin uninstall: -# rm ${PREFIX}/${PRG} - rm ${DESTDIR}/${PRG} + rm ${DESTDIR}/${PREFIX}/bin/${PRG} test: @bash help/test.sh ${test_dir} -- 2.43.0