/[pkg-kde]/branches/kde4/cdbs/kde.mk
ViewVC logotype

Contents of /branches/kde4/cdbs/kde.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6145 - (show annotations) (download)
Fri May 11 12:25:00 2007 UTC (6 years ago) by pusling-guest
File size: 1018 byte(s)
use our own utils.mk - it supports debian/not-installed as a file to track
files that shouldn't be installed. Lines in debian/not-installed that starts with 
# is treated as comments.
1 export XDG_DATA_DIRS=/usr/share
2 export XDG_CONFIG_DIRS=/etc/xdg
3
4
5 include debian/cdbs/cmake.mk
6 include /usr/share/cdbs/1/rules/debhelper.mk
7 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
8 include debian/cdbs/utils.mk
9
10 DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
11 DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
12 DEB_KDE_ENABLE_FINAL ?=
13
14 DEB_CMAKE_EXTRA_FLAGS += -DKDE4_BUILD_TESTS=true -DKDE_DISTRIBUTION_TEXT="Debian packages"
15
16 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
17 cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
18 ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
19 KDE4-ENABLE-FINAL = $(if $(DEB_KDE_ENABLE_FINAL),-DKDE4_ENABLE_FINAL=true,)
20 else
21 KDE4-ENABLE-FINAL =
22 endif
23 endif
24
25
26
27 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
28 #no optimizations, full debug
29 DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=debugfull
30 else
31 #This is around -O2 -g
32 DEB_CMAKE_DEBUG_FLAGS = -DCMAKE_BUILD_TYPE=relwithdebinfo
33 endif
34
35
36
37

  ViewVC Help
Powered by ViewVC 1.1.5