git: Makefile.usr: allow easier change of repo URL and cleanups

Aaron LI aly at crater.dragonflybsd.org
Tue Mar 27 21:52:20 PDT 2018


commit ad8b70e08d7600e3f4eb3b36556d4540b1a9c119
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Mar 28 12:39:01 2018 +0800

    Makefile.usr: allow easier change of repo URL and cleanups
    
    * Introduce variables GITURL_SRC and GITURL_DPORTS to replace GITHOST and
      GITHOST_DPORTS, respectively, allowing easier change the git repo URLs, e.g.,
      changing to use the HTTPs clone from GitHub.
    
    * Introduce variable BRANCH to specify the src branch to be checked out, either
      "master" (the development branch) or "DragonFly_RELEASE_x_y" (for stable
      releases).  Also print the checkout branch in the help.
    
    * Simplify "src-create" and "src-create-shallow" targets to a one-line git clone
      command with the --depth and --branch options.
    
    * Target "src-create-repo" is merged into "src-create", and target
      "src-checkout" is removed as it is no longer needed.
    
    * Protect "release-sys-extract" target with the existence check of
      src-sys.tar.bz2 .
    
    * Other minor updates and cleanups.

Summary of changes:
 etc/Makefile.usr | 88 +++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 49 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad8b70e08d7600e3f4eb3b36556d4540b1a9c119


-- 
DragonFly BSD source repository



More information about the Commits mailing list