po: Update German programs translation
[dpkg.git] / scripts / t / dpkg_buildpackage / hook
blob96233113ad0d24b5c6826466592034365c003f9c
1 #!/bin/sh
2 self="$(basename "$0")"
3 from="$(dirname "$0")"
4 case "$DPKG_BUILDPACKAGE_HOOK_NAME" in
5 source)
6 echo "$self: source-opts=$DPKG_BUILDPACKAGE_HOOK_SOURCE_OPTIONS"
7 ;;
8 build)
9 echo "$self: build-target=$DPKG_BUILDPACKAGE_HOOK_BUILD_TARGET"
11 binary)
12 echo "$self: binary-target=$DPKG_BUILDPACKAGE_HOOK_BINARY_TARGET"
14 buildinfo)
15 echo "$self: buildinfo-opts=$DPKG_BUILDPACKAGE_HOOK_BUILDINFO_OPTIONS" \
16 | perl -p -E "s{\Q$from\E}{<ROOT>}g"
18 changes)
19 echo "$self: changes-opts=$DPKG_BUILDPACKAGE_HOOK_CHANGES_OPTIONS"
21 check)
22 echo "$self: check-opts=$DPKG_BUILDPACKAGE_HOOK_CHECK_OPTIONS"
24 esac
25 echo "$self: n=$DPKG_BUILDPACKAGE_HOOK_NAME $*"