[Pkg-irc-commits] r209 - in /packages/inspircd/trunk/debian: README.source rules

cate at users.alioth.debian.org cate at users.alioth.debian.org
Thu Jul 3 07:00:47 UTC 2008


Author: cate
Date: Thu Jul  3 07:00:46 2008
New Revision: 209

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=209
Log:
add debian/README.source [debian policy 4.14] and target "source" in debian/rule

Added:
    packages/inspircd/trunk/debian/README.source
Modified:
    packages/inspircd/trunk/debian/rules

Added: packages/inspircd/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/README.source?rev=209&op=file
==============================================================================
--- packages/inspircd/trunk/debian/README.source (added)
+++ packages/inspircd/trunk/debian/README.source Thu Jul  3 07:00:46 2008
@@ -1,0 +1,25 @@
+README.source for inspircd
+===========================
+
+This package uses dpatch to manage patches, use
+fakeroot debian/rules patch
+to get a patched sourcetree after dpkg-source -x and use dpatch-edit-patch to
+generate new patches.
+
+
+Building from SVN:
+-----------------
+#1 Fetch the source tarball from upstream and extract it.
+  i.e. using 'uscan' and 'tar'
+#2 Change into the generated directory and pull the debian specific files from
+SVN:
+svn export svn://svn.debian.org/pkg-irc/packages/inspircd/trunk/debian debian
+#3 Run
+fakeroot debian/rules source
+to generate a new tarball containing only dfsg free content.
+#4 Build
+dpkg-buildpackage -uc -us -rfakeroot
+
+----
+Note: this documentation is copied from iceape package
+

Modified: packages/inspircd/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/rules?rev=209&op=diff
==============================================================================
--- packages/inspircd/trunk/debian/rules (original)
+++ packages/inspircd/trunk/debian/rules Thu Jul  3 07:00:46 2008
@@ -81,6 +81,11 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
+
+source: clean
+	rm -fr $(CURDIR)/docs/rfc/
+	tar -C .. -zcf ../`dpkg-parsechangelog | sed -n '/Source:/ N; s/Source: \(.*\)\nVersion: \(.*:\|\)\(.*\)-[0-9][0-9]*$$/\1_\3/ p'`.orig.tar.gz --exclude=`basename $(CURDIR)`/debian `basename $(CURDIR)`
+
 .PHONY: binary clean binary-indep binary-arch build install patch unpatch \
-        clean1
+        clean1 source
 




More information about the Pkg-irc-commits mailing list