aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
Diffstat (limited to 'default.bld')
-rw-r--r--default.bld85
1 files changed, 0 insertions, 85 deletions
diff --git a/default.bld b/default.bld
index 457c71b..aa317f6 100644
--- a/default.bld
+++ b/default.bld
@@ -236,91 +236,6 @@ target files("src/unit/*.unit").replace("src/","").replace(".unit","")
236 LDFLAGS += "-L. -lbu++"; 236 LDFLAGS += "-L. -lbu++";
237} 237}
238 238
239PKG_BASE = "libbu++-$(cat version)-r$(svnversion "-n").tar";
240
241target PKG_BASE
242{
243 input [
244 "LICENSE",
245 "README.md",
246 "Doxyfile",
247 "Makefile",
248 "version",
249 files("*.bld"),
250 "support/vim/syntax/taf.vim",
251 "support/vim/ftdetect/taf.vim",
252 "support/vim/ftplugin/taf.vim",
253 files("*.sh"),
254 files("autoconfig.cpp"),
255 files("src/*.cpp"),
256 files("src/*.h"),
257 files("src/stable/*.cpp"),
258 files("src/stable/*.h"),
259 files("src/unstable/*.cpp"),
260 files("src/unstable/*.h"),
261 files("src/experimental/*.cpp"),
262 files("src/experimental/*.h"),
263 files("src/tests/*.cpp"),
264 files("src/tests*.h"),
265 files("src/tools/*.cpp"),
266 files("src/tools/*.h"),
267 files("src/unit/*.unit"),
268 files("src/doxy/*.dox"),
269 files("src/compat/*.cpp"),
270 files("src/compat/*.h"),
271 files("src/extra/*.cpp"),
272 files("src/extra/*.h"),
273 files("pregen/*"),
274 "api"
275 ];
276 rule "tarball";
277 tag "pkg";
278}
279
280target PKG_BASE + ".gz"
281{
282 input PKG_BASE;
283 tag "pkg";
284 display "gzip";
285 profile "build"
286 {
287 execute("gzip -9 < ${INPUT} > ${OUTPUT}");
288 }
289}
290
291target PKG_BASE + ".bz2"
292{
293 input PKG_BASE;
294 tag "pkg";
295 display "bzip2";
296 profile "build"
297 {
298 execute("bzip2 -9 < ${INPUT} > ${OUTPUT}");
299 }
300}
301
302target PKG_BASE + ".xz"
303{
304 input PKG_BASE;
305 tag "pkg";
306 display "xz";
307 profile "build"
308 {
309 execute("xz -9vv < ${INPUT} > ${OUTPUT}");
310 }
311}
312
313rule "tarball"
314{
315 input matches("LICENSE", "*.md", "Makefile", "*.cpp", "*.h", "*.conf",
316 "*.bld", "Doxyfile", "*.vim", "*.sh", "*.unit", "api", "version");
317 profile "build"
318 {
319 OUTDIR = OUTPUT.replace(".tar","");
320 execute("tar -f ./${OUTPUT} --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT}");
321 }
322}
323
324rule "unit" 239rule "unit"
325{ 240{
326 input "*.unit"; 241 input "*.unit";