aboutsummaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-29 09:45:08 -0700
committerJosh Blum <josh@joshknows.com>2011-07-29 09:45:08 -0700
commit49330ed43307bc2fae1dacb0b12ec3186bca8249 (patch)
treecda76a2c99aab9a9a37fe9325fdaa7ba9669eab4 /images/Makefile
parent043c586ff8745b0cc01ed173d23951289dbcffcf (diff)
downloaduhd-49330ed43307bc2fae1dacb0b12ec3186bca8249.tar.gz
uhd-49330ed43307bc2fae1dacb0b12ec3186bca8249.tar.bz2
uhd-49330ed43307bc2fae1dacb0b12ec3186bca8249.zip
uhd: incr minor, add date to images tag, add package target to makefile
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index e1e533b12..f0a656d0d 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -260,6 +260,12 @@ endif
images: $(IMAGES_LIST)
find $(BUILT_IMAGES_DIR) -type f | xargs chmod -x
+package:
+ mkdir -p build
+ cd build && cmake -DUHD_RELEASE_MODE=OFF ..
+ cd build && cmake -DCPACK_GENERATOR=TGZ .. && make package
+ cd build && cmake -DCPACK_GENERATOR=ZIP .. && make package
+
clean:
$(RM) -rf $(BUILT_IMAGES_DIR)
$(RM) -rf $(CMAKE_BUILD_DIR)