Skip to content

Commit c2c8c77

Browse files
committed
Add $(DESTDIR)
Useful for package maintainers. see https://www.gnu.org/prep/standards/html_node/DESTDIR.html
1 parent 92fcaf1 commit c2c8c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
install: bin/fsclient bin/ps2client
2424
strip bin/*client*
25-
@mkdir -p $(PREFIX)/bin
26-
cp bin/*client* $(PREFIX)/bin
25+
@mkdir -p $(DESTDIR)$(PREFIX)/bin
26+
cp bin/*client* $(DESTDIR)$(PREFIX)/bin
2727

2828
####################
2929
## CLIENT MODULES ##

0 commit comments

Comments
 (0)