Skip to content

Commit

Permalink
Merge pull request #16 from djs55/fix-install-osx
Browse files Browse the repository at this point in the history
Fix 'make install' on OS X
  • Loading branch information
djs55 committed Sep 11, 2014
2 parents 054859f + 39dd159 commit 351ac92
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ clean: setup.data
ocaml setup.ml -clean

install: build
install -D -m 755 main.native ${BINDIR}/vhd-tool || echo "Failed to install vhd-tool"
install -D -m 755 sparse_dd.native ${LIBEXECDIR}/sparse_dd || echo "Failed to install sparse_dd"
install -D -m 644 src/sparse_dd.conf ${ETCDIR}/sparse_dd.conf || echo "Failed to install sparse_dd.conf"
mkdir -p ${BINDIR}
install -m 755 main.native ${BINDIR}/vhd-tool || echo "Failed to install vhd-tool"
mkdir -p ${LIBEXECDIR}
install -m 755 sparse_dd.native ${LIBEXECDIR}/sparse_dd || echo "Failed to install sparse_dd"
mkdir -p ${ETCDIR}
install -m 644 src/sparse_dd.conf ${ETCDIR}/sparse_dd.conf || echo "Failed to install sparse_dd.conf"

.PHONY: uninstall
uninstall:
Expand Down

0 comments on commit 351ac92

Please sign in to comment.