Skip to content

Commit

Permalink
updated makefile to implement DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
rolinh committed Mar 20, 2012
1 parent 40855f9 commit 53c50df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ ${EXEC}: ${OBJS}
${CC} ${LDFLAGS} -o ${EXEC} ${OBJS}

install-main: dfc
install -m755 dfc ${BINDIR}
install -Dm755 dfc ${DESTDIR}${BINDIR}/dfc

install-data: dfc.1
install -Dm644 dfc.1 ${MANDIR}/man1/dfc.1
install -Dm644 dfc.1 ${DESTDIR}${MANDIR}/man1/dfc.1

install: all install-main install-data

Expand Down

0 comments on commit 53c50df

Please sign in to comment.