Skip to content

Commit

Permalink
Add DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan (yac) Matějka authored and Jan (yac) Matějka committed Jun 19, 2014
1 parent ee002b8 commit a58ffb9
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 @@ -34,8 +34,8 @@ distclean:
rm -f Makefile.config config.h

install:
install -d $(PREFIX)/bin
install -m 755 $(TARGET) $(PREFIX)/bin
install -d $(DESTDIR)$(PREFIX)/bin
install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin

uninstall:
rm -f $(PREFIX)/bin/$(TARGET)
rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET)

0 comments on commit a58ffb9

Please sign in to comment.