From 43453108a6d53ecf724665ee5c353d2028f6021d Mon Sep 17 00:00:00 2001 From: Ryan Tandy Date: Sat, 28 Dec 2013 13:47:10 -0800 Subject: support DESTDIR in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d39012e..3b9a105 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ test/test: test/test.o $(filter-out src/main.o src/xlib.o, $(OBJFILES)) $(CC) $(CFLAGS) -MMD -MP -MT "$*.d" -c -o $@ $< install: - install -Dm 755 meh $(BINDIR)/meh + install -Dm 755 meh $(DESTDIR)$(BINDIR)/meh # Clean clean: -- cgit v1.2.3