convenience targets for makefile
authorCampbell Barton <ideasman42@gmail.com>
Mon, 14 Feb 2011 06:15:23 +0000 (06:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 14 Feb 2011 06:15:23 +0000 (06:15 +0000)
clean, test, package_debian, package_pacman

GNUmakefile

index 2abb6846e955995c1b4d2a6d90b30c3e092f6d96..703b8355a5ef24aa71c1e189c2739d83f7b98e6a 100644 (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