/[pkg-kde]/people/jriddell/KDE/3.5/kdenetwork/debian/cdbs/kde.mk
ViewVC logotype

Contents of /people/jriddell/KDE/3.5/kdenetwork/debian/cdbs/kde.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2225 - (show annotations) (download)
Sat Nov 12 20:32:22 2005 UTC (7 years, 6 months ago) by jriddell-guest
File size: 2766 byte(s)
kdenetwork for kde 3.5 rc 1
1 # -*- mode: makefile; coding: utf-8 -*-
2 # Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
3 # Description: A class for KDE packages; sets KDE environment variables, etc
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation; either version 2, or (at
8 # your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
18 # MA 02110-1301, USA.
19
20
21 ifndef _cdbs_bootstrap
22 _cdbs_scripts_path ?= /usr/lib/cdbs
23 _cdbs_rules_path ?= /usr/share/cdbs/1/rules
24 _cdbs_class_path ?= /usr/share/cdbs/1/class
25 endif
26
27 ifndef _cdbs_class_kde
28 _cdbs_class_kde := 1
29
30 include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
31
32 ifdef _cdbs_tarball_dir
33 DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
34 else
35 DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
36 endif
37
38 include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
39
40 export kde_cgidir = \$${libdir}/cgi-bin
41 export kde_confdir = \$${sysconfdir}/kde3
42 export kde_htmldir = \$${datadir}/doc/kde/HTML
43
44 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
45 cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
46 endif
47
48 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
49 cdbs_kde_enable_final =
50 cdbs_kde_enable_debug = --enable-debug=yes
51 else
52 cdbs_kde_enable_debug = --disable-debug
53 endif
54
55 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
56 cdbs_kde_enable_debug = --enable-debug=full
57 endif
58
59 cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
60
61 DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
62 DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/kde"
63 DEB_COMPRESS_EXCLUDE := .bz2 .css .dcl .docbook -license .tag .sty .el
64
65 cleanbuilddir::
66 -if test "$(DEB_BUILDDIR)" != "$(DEB_SRCDIR)"; then rm -rf $(DEB_BUILDDIR); fi
67
68 common-build-arch common-build-indep:: debian/stamp-apidox
69 debian/stamp-apidox:
70 if test -n "$(DEB_KDE_APIDOX)"; then \
71 $(DEB_MAKE_INVOKE) apidox; \
72 fi
73 touch debian/stamp-apidox
74
75 common-install-arch common-install-indep:: install-apidox
76 install-apidox::
77 if test -n "$(DEB_KDE_APIDOX)"; then \
78 $(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR); \
79 fi
80
81 clean::
82 rm -f debian/stamp-apidox
83
84 buildprep: clean apply-patches
85 make -f admin/Makefile.common dist
86 debian/rules clean
87
88 endif

  ViewVC Help
Powered by ViewVC 1.1.5