convenience targets for makefile

clean, test, package_debian, package_pacman
This commit is contained in:
Campbell Barton 2011-02-14 06:15:23 +00:00
parent 665a0ff789
commit 44be05f7f9
1 changed files with 14 additions and 0 deletions

View File

@ -71,4 +71,18 @@ all:
@echo run blender from "$(BUILD_DIR)/bin/blender"
@echo
# package types
package_debian:
cd build_files/package_spec ; sh ./build_debian.sh
package_pacman:
cd build_files/package_spec/pacman ; makepkg --asroot
# forward build targets
test:
cd $(BUILD_DIR) ; ctest . --output-on-failure
clean:
cd $(BUILD_DIR) ; make clean
.PHONY: all