aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-19 11:05:41 -0400
committerYour Name <you@example.com>2021-05-19 11:05:41 -0400
commitd0827f9048f8be529e97b921a8075e10502969be (patch)
tree5718766ed0c85800bc4d1c2d80df4db62d322c58
parent1b9b15e5fe8b53dfde9549c647fd7fd917a2c958 (diff)
downloadlibbible-d0827f9048f8be529e97b921a8075e10502969be.tar.gz
libbible-d0827f9048f8be529e97b921a8075e10502969be.tar.bz2
libbible-d0827f9048f8be529e97b921a8075e10502969be.zip
Fixed make install not respecting DESTDIR
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fdbf13c..9d4e91a 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ install: $(LIBRARY) $(EXECUTABLE)
install -m 644 libbible.h $(DESTDIR)$(PREFIX)/include/
install -d $(DESTDIR)$(PREFIX)/bin/
install -m 755 bible $(DESTDIR)$(PREFIX)/bin/
- install -m 644 bible.bash `pkg-config --variable=completionsdir bash-completion`
+ install -m 644 bible.bash $(DESTDIR)`pkg-config --variable=completionsdir bash-completion`
test: $(OBJECTS) testLibbible.o
$(CC) $(OBJECTS) testLibbible.o -o $@ $(LDFLAGS) `pkg-config $(LIBS) --libs` -lcppunit