rev 13503 - in branches/kde4.2/packages/pkg-kde-tools/trunk: debian pkg-kde-build/1
Sune Vuorela
pusling-guest at alioth.debian.org
Sat Jan 24 17:31:11 UTC 2009
Author: pusling-guest
Date: 2009-01-24 17:31:11 +0000 (Sat, 24 Jan 2009)
New Revision: 13503
Added:
branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/debian-qt-kde.mk
Removed:
branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/kde4.mk
Modified:
branches/kde4.2/packages/pkg-kde-tools/trunk/debian/changelog
Log:
it to debian-qt-kde.mk as it was called in kde3 when stored in cdbs/ dir.
Modified: branches/kde4.2/packages/pkg-kde-tools/trunk/debian/changelog
===================================================================
--- branches/kde4.2/packages/pkg-kde-tools/trunk/debian/changelog 2009-01-24 17:27:36 UTC (rev 13502)
+++ branches/kde4.2/packages/pkg-kde-tools/trunk/debian/changelog 2009-01-24 17:31:11 UTC (rev 13503)
@@ -10,7 +10,7 @@
- add support for the external reference package.
* Pass -X.svn to dh_install
* Add stuff from svn pkg-kde/cdbs as pkg-kde-build. Port kde.mk and rename
- it to kde4.mk:
+ it to debian-qt-kde.mk as it was called in kde3 when stored in cdbs/ dir.
- use /usr/share/pkg-kde-tools/makefiles/1/variables.mk;
- link with --as-needed by default;
- remove lintian section, we should use dh_lintian;
Copied: branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/debian-qt-kde.mk (from rev 13502, branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/kde4.mk)
===================================================================
--- branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/debian-qt-kde.mk (rev 0)
+++ branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/debian-qt-kde.mk 2009-01-24 17:31:11 UTC (rev 13503)
@@ -0,0 +1,80 @@
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+# DEB_KDE_DISABLE_POLICY_CHECK lists distributions for which
+# policy check should be disabled
+DEB_KDE_DISABLE_POLICY_CHECK ?=
+include /usr/share/pkg-kde-tools/pkg-kde-build/1/policy.mk
+
+# Link with --as-needed by default
+DEB_KDE_LINK_WITH_AS_NEEDED ?= yes
+
+# Include default KDE 4 cmake configuration variables
+include /usr/share/pkg-kde-tools/makefiles/1/variables.mk
+
+# Since cmake 2.6.2 or higher is required from now on, enable
+# relative paths to get more ccache hits.
+# NOTE: might not work with vanilla 2.6.2, only with Debian's one.
+DEB_CMAKE_KDE4_FLAGS += -DCMAKE_USE_RELATIVE_PATHS=ON
+
+# Pass standard KDE 4 flags to cmake via appropriate CDBS variable
+# (DEB_CMAKE_EXTRA_FLAGS)
+DEB_CMAKE_EXTRA_FLAGS += $(DEB_CMAKE_KDE4_FLAGS) $(DEB_CMAKE_CUSTOM_FLAGS)
+
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+#DEB_MAKE_ENVVARS += XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_DIRS=/usr/share
+#DEB_STRIP_EXCLUDE = so
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -f CMakeCache.txt
+
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+ if test -e debian/$(cdbs_curpkg).bugscript; then \
+ install -p -D -m755 debian/$(cdbs_curpkg).bugscript \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/script; \
+ fi
+ if test -e debian/$(cdbs_curpkg).bugcontrol; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).bugcontrol \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/control; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
+ meinproc4 $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
+ done
+
+# Run dh_sameversiondep
+common-binary-predeb-arch common-binary-predeb-indep::
+ dh_sameversiondep $(if $(filter common-binary-predeb-arch,$@),-a,-i)
Property changes on: branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/debian-qt-kde.mk
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: branches/kde4.2/packages/pkg-kde-tools/trunk/pkg-kde-build/1/kde4.mk
More information about the pkg-kde-commits
mailing list