]> git.lizzy.rs Git - rust.git/commitdiff
mk: Cleanup dist.mk yet more
authorBrian Anderson <banderson@mozilla.com>
Sat, 22 Mar 2014 02:20:44 +0000 (19:20 -0700)
committerBrian Anderson <banderson@mozilla.com>
Mon, 24 Mar 2014 21:29:18 +0000 (14:29 -0700)
mk/dist.mk

index 92e4f9bc2415910590236994bc63a4096ea23991..801a843a917a41229038519db556e3b12227110d 100644 (file)
 
 PKG_NAME := $(CFG_PACKAGE_NAME)
 
+# License suitable for displaying in a popup
+LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
+       cat $^ > $@
+
+
+######################################################################
+# Source tarball
+######################################################################
+
+PKG_TAR = dist/$(PKG_NAME).tar.gz
+
 PKG_GITMODULES := $(S)src/libuv $(S)src/llvm $(S)src/gyp $(S)src/compiler-rt
 PKG_FILES := \
     $(S)COPYRIGHT                              \
@@ -52,16 +63,6 @@ PKG_FILES := \
 
 UNROOTED_PKG_FILES := $(patsubst $(S)%,./%,$(PKG_FILES))
 
-LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
-       cat $^ > $@
-
-
-######################################################################
-# Source tarball
-######################################################################
-
-PKG_TAR = dist/$(PKG_NAME).tar.gz
-
 $(PKG_TAR): $(PKG_FILES)
        @$(call E, making dist dir)
        $(Q)rm -Rf tmp/dist/$(PKG_NAME)