Skip to content

Commit

Permalink
Merge pull request orangeduck#141 from holmanb/holmanb/fix-make-install
Browse files Browse the repository at this point in the history
fix makefile install target problems
orangeduck authored Nov 29, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 168830f + 7d69afe commit 65f20a1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -59,11 +59,13 @@ clean:
rm -rf -- $(DIST)

install: all
install -d -m644 $(DESTDIR)$(PREFIX)/{include,lib/pkgconfig,share/$(PROJ)}
install -d -m644 $(DESTDIR)$(PREFIX)/include
install -d -m644 $(DESTDIR)$(PREFIX)/lib/pkgconfig
install -d -m644 $(DESTDIR)$(PREFIX)/share/$(PROJ)
install -m755 -t $(DESTDIR)$(PREFIX)/lib $(DIST)/lib*
install -m644 -t $(DESTDIR)$(PREFIX)/share/$(PROJ) $(PROJ).{c,h}
install -m644 -t $(DESTDIR)$(PREFIX)/share/$(PROJ) $(PROJ).c $(PROJ).h
install -m644 $(PROJ).h $(DESTDIR)$(PREFIX)/include/$(PROJ).h
install -m644 $(DIST)/$(PROJ).pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/$(PROJ).pc
install -m644 $(PROJ).pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/$(PROJ).pc

uninstall:
rm -rf -- \

0 comments on commit 65f20a1

Please sign in to comment.