summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libgq/debian/rules
blob: 1f293b33488df5133fa3234159b93db206dced8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 $@