|
@@ -64,7 +64,7 @@ deploy() {
|
64
|
64
|
|
65
|
65
|
*/mkit.ini|mkit.ini)
|
66
|
66
|
echo "[project]"
|
67
|
|
- echo " version = 0.0.0"
|
|
67
|
+ echo " version = $Version"
|
68
|
68
|
test -n "$Codename" && echo " codename = $Codename"
|
69
|
69
|
test -n "$NiceName" && echo " name = $NiceName"
|
70
|
70
|
test -n "$Tagline" && echo " tagline = $Tagline"
|
|
@@ -452,6 +452,7 @@ usage() {
|
452
|
452
|
echo " -l LICENSE your options's license (see -L)"
|
453
|
453
|
echo " -m MAINT project maintainer's name and e-mail"
|
454
|
454
|
echo " -v URL URL to public code browser"
|
|
455
|
+ echo " -V VERSION initial version (default: 0.0.0)"
|
455
|
456
|
echo " -a enable autoclean ('make clean' after"
|
456
|
457
|
echo " each 'make install')"
|
457
|
458
|
echo " -g make git commits before and adter"
|
|
@@ -535,6 +536,7 @@ main() {
|
535
|
536
|
local Tagline # project tagline
|
536
|
537
|
local Maintainer # project maintainer (Name + e-mail)
|
537
|
538
|
local VcsBrowser # VCS browser (eg. GitHub URL)
|
|
539
|
+ local Version=0.0.0 # project version
|
538
|
540
|
local AutoClean=false # touch .mkit/autoclean?
|
539
|
541
|
local MkCommits=false # create pre/post git commits?
|
540
|
542
|
local Force=false # go without asking?
|
|
@@ -551,6 +553,7 @@ main() {
|
551
|
553
|
-l) License=$2; shift 2 || usage ;;
|
552
|
554
|
-m) Maintainer=$2; shift 2 || usage ;;
|
553
|
555
|
-v) VcsBrowser=$2; shift 2 || usage ;;
|
|
556
|
+ -V) Version=$2; shift 2 || usage ;;
|
554
|
557
|
-M) MkMakefile=false; shift ;;
|
555
|
558
|
-R) MkReadme=false; shift ;;
|
556
|
559
|
-a) AutoClean=true; shift ;;
|