diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-06 22:33:50 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-06 22:33:50 +0000 |
commit | 13d3c1a40aef5a7025efb16c12d85089a1214afa (patch) | |
tree | eb79954e6ef12ff547cac46ca577422aab89aa1f | |
parent | e7a2aa16ae7351d4c986a7ae5753ccb7ac880b8b (diff) | |
download | build-13d3c1a40aef5a7025efb16c12d85089a1214afa.tar.gz build-13d3c1a40aef5a7025efb16c12d85089a1214afa.tar.bz2 build-13d3c1a40aef5a7025efb16c12d85089a1214afa.tar.xz build-13d3c1a40aef5a7025efb16c12d85089a1214afa.zip |
The release pkg target actually builds usable tarballs now.
Diffstat (limited to '')
-rw-r--r-- | default.bld | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/default.bld b/default.bld index fbf33df..4691383 100644 --- a/default.bld +++ b/default.bld | |||
@@ -88,6 +88,7 @@ target PKG_BASE | |||
88 | "default.bld", | 88 | "default.bld", |
89 | "docs/build.1", | 89 | "docs/build.1", |
90 | "docs/build.7", | 90 | "docs/build.7", |
91 | "build.sh", | ||
91 | "support/vim/syntax/build.vim", | 92 | "support/vim/syntax/build.vim", |
92 | "support/vim/ftdetect/build.vim", | 93 | "support/vim/ftdetect/build.vim", |
93 | "support/vim/ftplugin/build.vim", | 94 | "support/vim/ftplugin/build.vim", |
@@ -100,7 +101,8 @@ target PKG_BASE | |||
100 | files("share/include/*"), | 101 | files("share/include/*"), |
101 | "minibu", | 102 | "minibu", |
102 | files("minibu/bu/*"), | 103 | files("minibu/bu/*"), |
103 | files("minibu/src/*") | 104 | files("minibu/src/*"), |
105 | files("bootstrap/*") | ||
104 | ]; | 106 | ]; |
105 | rule "tarball"; | 107 | rule "tarball"; |
106 | tag "pkg"; | 108 | tag "pkg"; |
@@ -141,11 +143,11 @@ target PKG_BASE + ".xz" | |||
141 | 143 | ||
142 | rule "tarball" | 144 | rule "tarball" |
143 | { | 145 | { |
144 | input matches("*.cpp", "*.h", "*.c", "*.y", "*.l", "*.conf", "Doxyfile", | 146 | input matches("*.cpp", "*.h", "*.c", "*.y", "*.l", "*.bld", "Doxyfile", |
145 | "*.1", "*.7", "*.vim"); | 147 | "*.1", "*.7", "*.vim", "*.sh"); |
146 | profile "build" | 148 | profile "build" |
147 | { | 149 | { |
148 | OUTDIR = OUTPUT.replace(".tar.bz2",""); | 150 | OUTDIR = OUTPUT.replace(".tar",""); |
149 | execute("tar -f ./${OUTPUT} --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT}"); | 151 | execute("tar -f ./${OUTPUT} --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT}"); |
150 | } | 152 | } |
151 | } | 153 | } |