Skip to content

Commit

Permalink
Respect DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Blach committed Oct 4, 2013
1 parent 62b8645 commit 65d7155
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ ${MAN}:
rst2man ${BIN}.rst $@

install: all
install -m 0755 -o 0 -g 0 -d ${PREFIX}/bin
install -m 6555 -o 0 -g 0 -s ${BIN} ${PREFIX}/bin
install -m 0755 -o 0 -g 0 -d ${PREFIX}/man/man1
install -m 0444 -o 0 -g 0 ${MAN} ${PREFIX}/man/man1
install -m 0755 -o 0 -g 0 -d ${DESTDIR}${PREFIX}/bin
install -m 6555 -o 0 -g 0 -s ${BIN} ${DESTDIR}${PREFIX}/bin
install -m 0755 -o 0 -g 0 -d ${DESTDIR}${PREFIX}/man/man1
install -m 0444 -o 0 -g 0 ${MAN} ${DESTDIR}${PREFIX}/man/man1

clean:
rm -f ${BIN} *.o ${MAN}
Expand Down

0 comments on commit 65d7155

Please sign in to comment.