Browse code

add dist clean, remove dist-clean

Nat! authored on 12-09-2016 10:49:02
Showing 2 changed files
... ...
@@ -46,7 +46,8 @@ inheritance scheme.
46 46
 * redid the settings merge and inheritance logic. It's now a bit more scrutable.
47 47
 * removed build_order from settings
48 48
 * script names have changed. For instance, post-install.sh is now post-fetch.sh.
49
-
49
+* dist-clean is gone, now dist means "clean dist". You can also say dist clean
50
+it doesn't matter.
50 51
 
51 52
 1.1
52 53
 ===
... ...
@@ -297,7 +297,7 @@ bootstrap_main()
297 297
    if [ ! -d "${BOOTSTRAP_SUBDIR}" ]
298 298
    then
299 299
       case "${command}" in
300
-         bootstrap|nomagic|build|ibuild|refresh|clean|dist-clean|fetch|update|setup-xcode|xcode|tag)
300
+         bootstrap|nomagic|build|ibuild|refresh|dist|clean|dist-clean|fetch|update|setup-xcode|xcode|tag)
301 301
             fail "There is no ${BOOTSTRAP_SUBDIR} folder here, can't continue"
302 302
       esac
303 303
    fi
... ...
@@ -392,10 +392,10 @@ bootstrap_main()
392 392
          clean_main "$@"    || exit 1
393 393
       ;;
394 394
 
395
-      dist-clean)
395
+      dist)
396 396
          . mulle-bootstrap-clean.sh
397 397
 
398
-         clean_main "dist"  || exit 1
398
+         clean_main "dist"    || exit 1
399 399
       ;;
400 400
 
401 401
       fetch)