Skip to content

Commit

Permalink
Respect DESTDIR in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimler91 committed May 13, 2021
1 parent f340453 commit 33f3888
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ clean:
rm -f getconf

install: getconf
mkdir -p $(PREFIX)/share/man/man1 $(PREFIX)/bin
install getconf $(PREFIX)/bin/getconf
install getconf.1 $(PREFIX)/share/man/man1/getconf.1
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)$(PREFIX)/bin
install -m700 getconf $(DESTDIR)$(PREFIX)/bin/
install -m600 getconf.1 $(DESTDIR)$(PREFIX)/share/man/man1/

uninstall:
rm -f $(PREFIX)/bin/getconf $(PREFIX)/share/man/man1/getconf.1
Expand Down

0 comments on commit 33f3888

Please # to comment.