build system: add a target dist to makefile

Generate a tarbal for wmfs with make dist
Version set to date +%Y%m in setlocalversion

Move .PHONY BEFORE phony targets

Signed-off-by: Philippe Pepiot <phil@philpep.org>
This commit is contained in:
Philippe Pepiot
2011-04-16 21:36:27 +02:00
parent e57a6c5e62
commit 12aa86e914
2 changed files with 8 additions and 4 deletions

View File

@@ -70,3 +70,6 @@ if rev=`svn info 2>/dev/null | grep '^Last Changed Rev'`; then
# All done with svn
exit
fi
# default version
printf -- '-%s' "`date +%Y%m`"