monkey-bubble r240 - in trunk: . debian



Author: herzi
Date: Fri Jan 11 22:45:17 2008
New Revision: 240
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=240&view=rev

Log:
2008-01-11  Sven Herzberg  <herzi gnome-de org>

	Be able to specify different sections for Debian/Ubuntu and Maemo

	* debian/control,
	* debian/control.in: renamed the file and replaced the section by
	@SECTION@
	* debian/rules: added a rule to create the debian/control file from
	the template (this will also allow better dependency specification)


Added:
   trunk/debian/control.in
      - copied, changed from r239, /trunk/debian/control
Removed:
   trunk/debian/control
Modified:
   trunk/ChangeLog
   trunk/Makefile.am
   trunk/debian/rules

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Fri Jan 11 22:45:17 2008
@@ -50,6 +50,7 @@
 	cd $(top_builddir)/debian-build && tar zxf ../$(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
 	cp -r $(top_srcdir)/debian $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION)/
 	cd $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION) && \
+		 make -f debian/rules debian/control && \
 		 dpkg-buildpackage -rfakeroot || \
 		 true
 	-rm -rf $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION)

Copied: trunk/debian/control.in (from r239, /trunk/debian/control)
==============================================================================
--- /trunk/debian/control	(original)
+++ trunk/debian/control.in	Fri Jan 11 22:45:17 2008
@@ -1,5 +1,5 @@
 Source: monkey-bubble
-Section: gnome
+Section: @SECTION@
 Priority: optional
 Maintainer: Thomas Cataldo <thomas cataldo aliacom fr>
 Standards-Version: 3.6.1

Modified: trunk/debian/rules
==============================================================================
--- trunk/debian/rules	(original)
+++ trunk/debian/rules	Fri Jan 11 22:45:17 2008
@@ -6,6 +6,9 @@
 
 DEB_INSTALL_MANPAGES_monkey-bubble := debian/monkey-bubble.1 debian/monkey-srv.1
 
+debian/control:: debian/control.in
+	sed 's# SECTION@#gnome#' $< > $@
+
 build/monkey-bubble::
 	/usr/bin/docbook-to-man debian/monkey-bubble.sgml > debian/monkey-bubble.1
 	/usr/bin/docbook-to-man debian/monkey-srv.sgml > debian/monkey-srv.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]