Some changes to allow for snapshot builds.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
Andrew McMillan committed 2011-01-20 23:34:21 +13:00
1 parent f59e109ace
commit 6f50f3e2e2
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -3,6 +3,7 @@
package=davical
version=$(shell cat VERSION)
snapshot : version = $(shell sed -n 's:\([0-9\.]*\)[-a-f0-9-]*:\1:p' VERSION)-git$(shell git rev-parse --short HEAD)
all: htdocs/always.php built-docs built-po
@@ -31,6 +32,8 @@ release: built-docs VERSION
$(shell find $(package)-$(version)/docs/api/ ! -name "phpdoc.ini" )
rm $(package)-$(version)
snapshot: release
clean:
rm -f built-docs built-po
-find . -name "*~" -delete