From ba177923d7b60800ae2e01f80fc10dc8ad1594bb Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 7 Nov 2012 18:05:49 +0000 Subject: Packaging tweaks. It works better with a tarball now. --- default.bld | 85 ------------------------------------------------------------- 1 file changed, 85 deletions(-) (limited to 'default.bld') 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","") LDFLAGS += "-L. -lbu++"; } -PKG_BASE = "libbu++-$(cat version)-r$(svnversion "-n").tar"; - -target PKG_BASE -{ - input [ - "LICENSE", - "README.md", - "Doxyfile", - "Makefile", - "version", - files("*.bld"), - "support/vim/syntax/taf.vim", - "support/vim/ftdetect/taf.vim", - "support/vim/ftplugin/taf.vim", - files("*.sh"), - files("autoconfig.cpp"), - files("src/*.cpp"), - files("src/*.h"), - files("src/stable/*.cpp"), - files("src/stable/*.h"), - files("src/unstable/*.cpp"), - files("src/unstable/*.h"), - files("src/experimental/*.cpp"), - files("src/experimental/*.h"), - files("src/tests/*.cpp"), - files("src/tests*.h"), - files("src/tools/*.cpp"), - files("src/tools/*.h"), - files("src/unit/*.unit"), - files("src/doxy/*.dox"), - files("src/compat/*.cpp"), - files("src/compat/*.h"), - files("src/extra/*.cpp"), - files("src/extra/*.h"), - files("pregen/*"), - "api" - ]; - rule "tarball"; - tag "pkg"; -} - -target PKG_BASE + ".gz" -{ - input PKG_BASE; - tag "pkg"; - display "gzip"; - profile "build" - { - execute("gzip -9 < ${INPUT} > ${OUTPUT}"); - } -} - -target PKG_BASE + ".bz2" -{ - input PKG_BASE; - tag "pkg"; - display "bzip2"; - profile "build" - { - execute("bzip2 -9 < ${INPUT} > ${OUTPUT}"); - } -} - -target PKG_BASE + ".xz" -{ - input PKG_BASE; - tag "pkg"; - display "xz"; - profile "build" - { - execute("xz -9vv < ${INPUT} > ${OUTPUT}"); - } -} - -rule "tarball" -{ - input matches("LICENSE", "*.md", "Makefile", "*.cpp", "*.h", "*.conf", - "*.bld", "Doxyfile", "*.vim", "*.sh", "*.unit", "api", "version"); - profile "build" - { - OUTDIR = OUTPUT.replace(".tar",""); - execute("tar -f ./${OUTPUT} --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT}"); - } -} - rule "unit" { input "*.unit"; -- cgit v1.2.3