Skip to content

Commit

Permalink
updated makefile: fix bug #70
Browse files Browse the repository at this point in the history
  • Loading branch information
rolinh committed Apr 1, 2012
1 parent 5436bb0 commit 806fd0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ ${EXEC}: ${OBJS}
${CC} ${LDFLAGS} -o ${EXEC} ${OBJS}

install-main: dfc
install -Dm755 dfc ${DESTDIR}${BINDIR}/dfc
test -d ${DESTDIR}${BINDIR} || mkdir -p ${DESTDIR}${BINDIR}
install -m755 dfc ${DESTDIR}${BINDIR}/dfc

install-data: ${MAN}/dfc.1
install -Dm644 ${MAN}/dfc.1 ${DESTDIR}${MANDIR}/man1/dfc.1
test -d ${DESTDIR}${MANDIR}/man1 || mkdir -p ${DESTDIR}${MANDIR}/man1
install -m644 ${MAN}/dfc.1 ${DESTDIR}${MANDIR}/man1/dfc.1

install: all install-main install-data

Expand Down

0 comments on commit 806fd0c

Please sign in to comment.