aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRyan Tandy <ryan@nardis.ca>2013-12-28 13:47:10 -0800
committerRyan Tandy <ryan@nardis.ca>2013-12-28 13:47:10 -0800
commit43453108a6d53ecf724665ee5c353d2028f6021d (patch)
tree38f5eaf0592ecacacf151f0fcdd6da7b9a1d5440 /Makefile
parenteab913a16cf085849e362a5050de52245d51fd0d (diff)
downloadmirror-meh-43453108a6d53ecf724665ee5c353d2028f6021d.tar.gz
mirror-meh-43453108a6d53ecf724665ee5c353d2028f6021d.tar.bz2
mirror-meh-43453108a6d53ecf724665ee5c353d2028f6021d.zip
support DESTDIR in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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: