[Pkg-irc-commits] r17 - /packages/inspircd/trunk/debian/rules

mario at users.alioth.debian.org mario at users.alioth.debian.org
Sun Oct 7 00:19:50 UTC 2007


Author: mario
Date: Sun Oct  7 00:19:50 2007
New Revision: 17

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=17
Log:
Added dpatch rules

Modified:
    packages/inspircd/trunk/debian/rules

Modified: packages/inspircd/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-irc/packages/inspircd/trunk/debian/rules?rev=17&op=diff
==============================================================================
--- packages/inspircd/trunk/debian/rules (original)
+++ packages/inspircd/trunk/debian/rules Sun Oct  7 00:19:50 2007
@@ -1,17 +1,12 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
 CFLAGS = -Wall -g
 
-# No optimization should be used for this ircd, as it causes weird problems
-config.status: configure
+include /usr/share/dpatch/dpatch.make
+
+config.status: patch configure
 	dh_testdir
 	./configure --disable-interactive --enable-gnutls --enable-epoll \
 	--enable-ipv6--prefix=$(CURDIR)/debian/inspircd/usr/lib/inspircd \
@@ -27,7 +22,7 @@
 	$(MAKE)
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp




More information about the Pkg-irc-commits mailing list