debian/rules: Remove dpatch logic as we are using package source version '3.0 (quilt)'

This commit is contained in:
Laurent Bigonville 2010-12-24 01:09:04 +01:00
parent c38582d5c2
commit c3894a1752
2 changed files with 6 additions and 16 deletions

4
debian/changelog vendored
View file

@ -25,8 +25,10 @@ nut (2.4.3-2) UNRELEASED; urgency=low
* Drop libupsclient1.post{inst,rm}: ldconfig call is added automatically by * Drop libupsclient1.post{inst,rm}: ldconfig call is added automatically by
debhelper debhelper
* debian/libupsclient1-dev.install: Do not ship /lib/libupsclient.la anymore * debian/libupsclient1-dev.install: Do not ship /lib/libupsclient.la anymore
* debian/rules: Remove dpatch logic as we are using package source version
'3.0 (quilt)'
-- Laurent Bigonville <bigon@debian.org> Fri, 24 Dec 2010 00:41:12 +0100 -- Laurent Bigonville <bigon@debian.org> Fri, 24 Dec 2010 01:07:36 +0100
nut (2.4.3-1.1) unstable; urgency=low nut (2.4.3-1.1) unstable; urgency=low

18
debian/rules vendored
View file

@ -14,7 +14,7 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
CONFIGUREFLAGS+=--with-udev-dir=/lib/udev CONFIGUREFLAGS+=--with-udev-dir=/lib/udev
endif endif
configure: patch configure-stamp configure: configure-stamp
configure-stamp: configure-stamp:
dh_testdir dh_testdir
CFLAGS='$(CFLAGS)' ./configure $(CONFIGUREFLAGS) \ CFLAGS='$(CFLAGS)' ./configure $(CONFIGUREFLAGS) \
@ -47,8 +47,7 @@ build-stamp:
$(MAKE) $(MAKE)
touch $@ touch $@
clean: clean-patched unpatch clean:
clean-patched:
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f configure-stamp build-stamp install-stamp rm -f configure-stamp build-stamp install-stamp
@ -60,17 +59,6 @@ clean-patched:
# -test -r /usr/share/misc/config.guess && \ # -test -r /usr/share/misc/config.guess && \
# cp -f /usr/share/misc/config.guess config.guess # cp -f /usr/share/misc/config.guess config.guess
patch: patch-stamp
patch-stamp:
# dpatch apply-all
# touch $@
# run autoreconf for dpatch
# autoreconf
unpatch:
# dpatch deapply-all
# rm -rf patch-stamp debian/patched
uninstall: uninstall:
dh_testdir dh_testdir
dh_testroot dh_testroot
@ -135,4 +123,4 @@ endif
dh_builddeb dh_builddeb
binary: binary-indep binary-arch binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary configure install uninstall patch unpatch .PHONY: build clean binary-indep binary-arch binary configure install uninstall