summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-01-24 10:52:34 +0100
committerPali Rohár <pali.rohar@gmail.com>2013-01-24 10:52:34 +0100
commit62bb8e4e2898b35e9235912f9b299ab320a8c2af (patch)
tree26184256f4e2c55e642b9669d76e3d0c052eeec1 /src/Makefile
parent2f7bab98bf06518171c0a0adb9ea80fb164327f6 (diff)
download0xFFFF-62bb8e4e2898b35e9235912f9b299ab320a8c2af.tar.bz2
Makefile: Add $(BIN) to destination in make install
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 1b9bb59..39dc4bb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,7 +19,7 @@ $(BIN): $(OBJS) Makefile ../config.mk
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
install: $(BIN)
- $(INSTALL) -D -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) -D -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN)
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/$(BIN)