Skip to content

Commit

Permalink
Changed the Makefile targets a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rok Strnisa committed Jun 23, 2010
1 parent f105d73 commit 2f0eb40
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
BUILD_DIR=bin

.PHONY: build_and_install build install clean

build_and_install: build install
.PHONY: build install clean

build:
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && cmake $(CURDIR) && make && make package

install:
install: build
cd $(BUILD_DIR) && rpm -i --force *.rpm

clean:
Expand Down

0 comments on commit 2f0eb40

Please sign in to comment.