Commit from LXDE Pootle server by user mbouzada.: 236 of 236 strings translated ...
[lxde/gpicview.git] / debian / rules
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 #include /usr/share/dpatch/dpatch.make
7
8
9 # These are used for cross-compiling and for saving the configure script
10 # from having to guess our platform (since we know it already)
11 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
12 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13
14 CFLAGS += -Wall -g -Wl,-z,defs
15
16 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
17     CFLAGS += -O0
18 else
19     CFLAGS += -O2
20 endif
21
22 %:
23         dh $@
24
25 override_dh_auto_configure:
26         ./autogen.sh
27         dh_auto_configure