From d0827f9048f8be529e97b921a8075e10502969be Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 19 May 2021 11:05:41 -0400 Subject: Fixed make install not respecting DESTDIR --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3