Permalink
Browse files

Fixed Makefile install targets.

  • Loading branch information...
1 parent da95142 commit 814d785ba0ea2df0585ff1f47bec48b7b1e2c413 polyethene committed May 16, 2010
Showing with 7 additions and 5 deletions.
  1. +2 −0 Deploy/setup.sh
  2. +5 −5 Makefile
View
@@ -1,5 +1,7 @@
#!/bin/sh
+cd "$(dirname "$0")"
+
if [ -z "$prefix" ]; then prefix=/usr; fi
libdir=lib
bindir=bin
View
@@ -9,22 +9,22 @@ deploy=Deploy/$(outdir)/$(config)
setup=$(deploy)/Setup.exe
installer=$(deploy)/setup.sh
-.PHONY=all docs dist install uninstall clean
+.PHONY=all docs docs dist install uninstall clean
all: clean
$(CC) "/property:Configuration=$(config)"
docs: all
- $(CLI) $(setup) docs
+ $(CLI) "$(setup)" docs
dist: all
- $(CLI) $(setup)
+ $(CLI) "$(setup)"
install: all
- (cd "$(deploy)"; "./$(installer)" install)
+ "$(installer)" install
uninstall: all
- (cd "$(deploy)"; "./$(installer)" install)
+ "$(installer)" remove
clean:
for dir in $(shell ls -d */ | xargs -l basename); do \

0 comments on commit 814d785

Please sign in to comment.