r18113 - in /desktop/experimental/gtkmm-documentation/debian: changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Thu Jan 1 17:03:51 UTC 2009
Author: lool
Date: Thu Jan 1 17:03:51 2009
New Revision: 18113
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=18113
Log:
Generate a xsltproc wrapper in debian/bin/ to add --nonet to the command
line flags; prepend debian/bin to the PATH.
Modified:
desktop/experimental/gtkmm-documentation/debian/changelog
desktop/experimental/gtkmm-documentation/debian/rules
Modified: desktop/experimental/gtkmm-documentation/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtkmm-documentation/debian/changelog?rev=18113&op=diff
==============================================================================
--- desktop/experimental/gtkmm-documentation/debian/changelog (original)
+++ desktop/experimental/gtkmm-documentation/debian/changelog Thu Jan 1 17:03:51 2009
@@ -8,5 +8,7 @@
* Don't set GNOME_MODULE in rules; default is fine.
* Build-dep on libglib2.0-dev >= 2.4.0 for gthread's CFLAGS.
* Drop dpkg-dev build-dep.
+ * Generate a xsltproc wrapper in debian/bin/ to add --nonet to the command
+ line flags; prepend debian/bin to the PATH.
-- Deng Xiyue <manphiz-guest at users.alioth.debian.org> Sat, 02 Aug 2008 04:50:40 +0800
Modified: desktop/experimental/gtkmm-documentation/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtkmm-documentation/debian/rules?rev=18113&op=diff
==============================================================================
--- desktop/experimental/gtkmm-documentation/debian/rules (original)
+++ desktop/experimental/gtkmm-documentation/debian/rules Thu Jan 1 17:03:51 2009
@@ -7,4 +7,16 @@
include /usr/share/gnome-pkg-tools/1/rules/check-dist.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+PATH := $(CURDIR)/debian/bin:$(PATH)
+
+# xsltproc wrapper to pass --nonet in flags
+debian/bin/xsltproc:
+ mkdir -p debian/bin
+ (echo '#!/bin/sh'; echo 'set -e'; echo 'PATH="$${PATH#$$(dirname "$$0"):}" exec xsltproc --nonet "$$@"') >debian/bin/xsltproc; chmod a+x debian/bin/xsltproc
+
+pre-build:: debian/bin/xsltproc
+
+clean::
+ rm -rf debian/bin
+
DEB_DESTDIR := $(CURDIR)/debian/tmp
More information about the pkg-gnome-commits
mailing list