diff options
Diffstat (limited to 'src/3rdparty/libgq/debian/rules')
-rwxr-xr-x | src/3rdparty/libgq/debian/rules | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/3rdparty/libgq/debian/rules b/src/3rdparty/libgq/debian/rules new file mode 100755 index 0000000..1f293b3 --- /dev/null +++ b/src/3rdparty/libgq/debian/rules @@ -0,0 +1,32 @@ +#! /usr/bin/make -f + +# Sanitize build environment when running inside Scratchbox 1 +ifneq (,$(wildcard /targets)) + ifeq (,$(SBOX_DONT_SANITIZE)) + export PATH:=/bin:/usr/bin + export MAKE:=make + ifeq (,$(FAKEROOTKEY)) + export SBOX_REDIRECT_TO_DIRS:=/scratchbox/compilers/bin + else + export SBOX_REDIRECT_TO_DIRS:= + endif + ifneq (,$(shell debian/fixup-scratchbox)) + $(error Error) + endif + endif +endif + +override_dh_auto_configure: + ./autogen.sh + dh_auto_configure + +override_dh_auto_build: + dh_auto_build + cd gconf && doxygen + +override_dh_strip: + dh_strip -plibgq-gconf0 --dbg-package=libgq-gconf0-dbg + dh_strip + +%: + dh $@ |