Commit from LXDE Pootle server by user mbouzada.: 236 of 236 strings translated ...
[lxde/gpicview.git] / debian / rules
CommitLineData
1e723623 1#!/usr/bin/make -f
1e723623
HJYP
2
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5
578a19f4
JL
6#include /usr/share/dpatch/dpatch.make
7
1e723623
HJYP
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)
11DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
12DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13
52591430 14CFLAGS += -Wall -g -Wl,-z,defs
1e723623 15
578a19f4
JL
16ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
17 CFLAGS += -O0
1e723623 18else
578a19f4 19 CFLAGS += -O2
1e723623
HJYP
20endif
21
52591430
JL
22%:
23 dh $@
578a19f4 24
52591430 25override_dh_auto_configure:
baea1061 26 ./autogen.sh
52591430 27 dh_auto_configure