convenience targets for makefile
clean, test, package_debian, package_pacman
This commit is contained in:
14
GNUmakefile
14
GNUmakefile
@@ -71,4 +71,18 @@ all:
|
|||||||
@echo run blender from "$(BUILD_DIR)/bin/blender"
|
@echo run blender from "$(BUILD_DIR)/bin/blender"
|
||||||
@echo
|
@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
|
.PHONY: all
|
||||||
|
Reference in New Issue
Block a user