aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2012-03-19 14:57:07 -0500
committerMark Ferrell <major@homeonderanged.org>2012-03-19 14:57:07 -0500
commit81aca95d130f7757a53d880eb8c298bf626f8fa3 (patch)
tree7e5b229dd51f187a902d4a07b276d26170e6e6bc
parent34f6a2391ca010b94c44aea942eab59a1aa3cac9 (diff)
Move logging out of the generated Makefile.
* In the long run we need to have fine-grained control over the logging interface. To pull that off we need to migrate all logging out of the Makefile infrastructure and instead handle it within the build scripts.
-rwxr-xr-xbin/builder/build-archive1
-rwxr-xr-xbin/builder/build-clean1
-rwxr-xr-xbin/builder/build-compile2
-rwxr-xr-xbin/builder/build-install1
-rwxr-xr-xbin/builder/build-makedeps5
-rwxr-xr-xbin/builder/build-sync1
6 files changed, 6 insertions, 5 deletions
diff --git a/bin/builder/build-archive b/bin/builder/build-archive
index 6616dea..caf2e65 100755
--- a/bin/builder/build-archive
+++ b/bin/builder/build-archive
@@ -1,5 +1,6 @@
#!/usr/bin/env build
+echo "archiving: ${1}"
import "${1}"
ARCHIVE_TMP1=
diff --git a/bin/builder/build-clean b/bin/builder/build-clean
index 1e81d7f..3a4b26f 100755
--- a/bin/builder/build-clean
+++ b/bin/builder/build-clean
@@ -1,5 +1,6 @@
#!/usr/bin/env build
+echo "cleaning: ${1}"
import "${1}"
for file in .synced .compiled .installed; do
diff --git a/bin/builder/build-compile b/bin/builder/build-compile
index d190e49..1ff5d91 100755
--- a/bin/builder/build-compile
+++ b/bin/builder/build-compile
@@ -1,5 +1,7 @@
#!/usr/bin/env build
+echo "compiling: ${1}"
+
# FIXME the CHOST is part of the BUILDER environment and should be handled
# accordingly
CHOST="i586-uplogix-linux-gnu"
diff --git a/bin/builder/build-install b/bin/builder/build-install
index a08d57c..b618a5a 100755
--- a/bin/builder/build-install
+++ b/bin/builder/build-install
@@ -1,5 +1,6 @@
#!/usr/bin/env build
+echo "installing: ${1}"
import "${1}"
ARCHIVE_FORMAT="tar.bz2"
diff --git a/bin/builder/build-makedeps b/bin/builder/build-makedeps
index 328454f..d5bf245 100755
--- a/bin/builder/build-makedeps
+++ b/bin/builder/build-makedeps
@@ -57,23 +57,18 @@ ${NAME}_compile: ${package_compile}
${NAME}_sync: ${package_sync}
${NAME}_makedeps:
${NAME}_clean:
- @echo "${NAME}: cleaning"
@build-clean ${NAME}
${package_install}: ${package_archive}
- @echo "${NAME}: installing"
@build-install ${NAME}
${package_archive}: ${package_compile}
- @echo "${NAME}: archiving"
@build-archive ${NAME}
${package_compile}: ${package_sync}${package_deps}
- @echo "${NAME}: compiling"
@build-compile ${NAME}
${package_sync}: ${package_rule}
- @echo "${NAME}: syncing"
@build-sync ${NAME}
EOF
diff --git a/bin/builder/build-sync b/bin/builder/build-sync
index af8f613..e1b2561 100755
--- a/bin/builder/build-sync
+++ b/bin/builder/build-sync
@@ -1,5 +1,6 @@
#!/usr/bin/env build
+echo "syncing: ${1}"
import "${1}"
build_sync_git()