From a58ffb96dccc1a11d799ecf64607e21fe41cfdf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=28yac=29=20Mat=C4=9Bjka?= Date: Thu, 19 Jun 2014 17:43:50 +0200 Subject: [PATCH] Add DESTDIR --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8cb799e..d530e25 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,8 @@ distclean: rm -f Makefile.config config.h install: - install -d $(PREFIX)/bin - install -m 755 $(TARGET) $(PREFIX)/bin + install -d $(DESTDIR)$(PREFIX)/bin + install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin uninstall: - rm -f $(PREFIX)/bin/$(TARGET) + rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET)