|
@@ -75,7 +75,7 @@ deploy() {
|
75
|
75
|
test -n "$RelDst" && echo " reldst = $RelDst"
|
76
|
76
|
echo ""
|
77
|
77
|
echo "[dist]"
|
78
|
|
- echo " tarball = LICENSE.md"
|
|
78
|
+ $MkLicense && echo " tarball = LICENSE.md"
|
79
|
79
|
$MkMakefile && echo " tarball = Makefile"
|
80
|
80
|
$MkReadme && echo " tarball = README.md"
|
81
|
81
|
echo " tarball = mkit.ini"
|
|
@@ -563,7 +563,7 @@ main() {
|
563
|
563
|
esac done
|
564
|
564
|
PackageName="$1"
|
565
|
565
|
test -n "$PackageName" || usage
|
566
|
|
- if test -n "$License"; then
|
|
566
|
+ if $MkLicense; then
|
567
|
567
|
known_licenses | grep -qxF "$License" \
|
568
|
568
|
|| die "unknown license (use -L to get list): $License"
|
569
|
569
|
MkLicense=true
|