Skip to content

Commit 169f08d

Browse files
committed
mk: Cleanup dist.mk yet more
1 parent c2e5e62 commit 169f08d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

mk/dist.mk

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@
2424

2525
PKG_NAME := $(CFG_PACKAGE_NAME)
2626

27+
# License suitable for displaying in a popup
28+
LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
29+
cat $^ > $@
30+
31+
32+
######################################################################
33+
# Source tarball
34+
######################################################################
35+
36+
PKG_TAR = dist/$(PKG_NAME).tar.gz
37+
2738
PKG_GITMODULES := $(S)src/libuv $(S)src/llvm $(S)src/gyp $(S)src/compiler-rt
2839
PKG_FILES := \
2940
$(S)COPYRIGHT \
@@ -52,16 +63,6 @@ PKG_FILES := \
5263

5364
UNROOTED_PKG_FILES := $(patsubst $(S)%,./%,$(PKG_FILES))
5465

55-
LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
56-
cat $^ > $@
57-
58-
59-
######################################################################
60-
# Source tarball
61-
######################################################################
62-
63-
PKG_TAR = dist/$(PKG_NAME).tar.gz
64-
6566
$(PKG_TAR): $(PKG_FILES)
6667
@$(call E, making dist dir)
6768
$(Q)rm -Rf tmp/dist/$(PKG_NAME)

0 commit comments

Comments
 (0)