rev 12202 - branches/kde4/packages/pkg-kde-tools/debian

Sune Vuorela pusling-guest at alioth.debian.org
Thu Sep 18 21:03:02 UTC 2008


Author: pusling-guest
Date: 2008-09-18 21:03:01 +0000 (Thu, 18 Sep 2008)
New Revision: 12202

Modified:
   branches/kde4/packages/pkg-kde-tools/debian/README.Debian
Log:
better docs

Modified: branches/kde4/packages/pkg-kde-tools/debian/README.Debian
===================================================================
--- branches/kde4/packages/pkg-kde-tools/debian/README.Debian	2008-09-18 20:56:34 UTC (rev 12201)
+++ branches/kde4/packages/pkg-kde-tools/debian/README.Debian	2008-09-18 21:03:01 UTC (rev 12202)
@@ -6,4 +6,33 @@
  If you use other tools, include the variables.mk file and run cmake with $(DEB_CMAKE_KDE4_FLAGS) to get 
  the kde4 default vars.
 
+Examples:
+
+A cdbs using package:
+
+#!/usr/bin/make -f
+
+include /usr/share/pkg-kde-tools/makefiles/1/cdbs/kde.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+#end makefile
+
+A non-cdbs-using package could start with something like the following and end up like any other cmake using package.
+
+#!/usr/bin/make -f
+
+include /usr/share/pkg-kde-tools/makefiles/1/variables.mk
+
+builddir/Makefile:
+        mkdir -p builddir
+	cd builddir && cmake .. $(DEB_CMAKE_KDE4_FLAGS)
+
+build-stamp: builddir/Makefile
+	$(MAKE) -C builddir
+	touch $@
+
+#end snippet
+
+
+
  -- Sune Vuorela <debian at pusling.com>  Thu, 18 Sep 2008 21:39:35 +0200




More information about the pkg-kde-commits mailing list