[Logcheck-commits] CVS logcheck/debian
CVS User maks-guest
logcheck-devel@lists.alioth.debian.org
Fri, 21 May 2004 05:32:29 -0600
Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv9043/debian
Modified Files:
changelog rules
Log Message:
added new cvs-build + cvs-clean rules
should help uploader and me to keep better up with head.
--- /cvsroot/logcheck/logcheck/debian/changelog 2004/05/20 08:39:46 1.83
+++ /cvsroot/logcheck/logcheck/debian/changelog 2004/05/21 11:32:29 1.84
@@ -17,6 +17,7 @@
* Ignore normal use of su and sudo. (Closes: #182992, #192192)
* Remove empty file innd.
* Add switches to logtails default arguments.
+ * Added cvs-build, cvs-clean debian/rules - stolen from apt.
todd:
* Add debconf to logcheck Depends:
* Check the return values of all commands. (Closes: #174173)
@@ -30,9 +31,7 @@
* src/logcheck: test also for readability for the header.txt and footer.txt.
* debian/changelog: stripped all trailing whitespace from the file.
- --
-logcheck (1.2.20a) unstable; urgency=low
maks:
* Fix bug where many extra TMPDIRs were being created and never removed
--- /cvsroot/logcheck/logcheck/debian/rules 2004/05/07 10:50:36 1.5
+++ /cvsroot/logcheck/logcheck/debian/rules 2004/05/21 11:32:29 1.6
@@ -66,3 +66,22 @@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
+
+# Done by the uploader:
+# cvs update..
+# edit debian/changelog
+# debian/rules cvs-build
+#
+LOGCHECK_DEBVER=$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/^Version: //p')
+#LOGCHECK_CVSTAG=$(shell echo "$(LOGCHECK_DEBVER)" | sed -e 's/^/v/' -e 's/\./_/g')
+LOGCHECK_CVSTAG=HEAD
+CVS_BUILDDIR=logcheck-$(LOGCHECK_DEBVER)
+CVS_ROOT=$(shell cat CVS/Root)
+CVS_MODULE=$(shell cat CVS/Repository)
+cvs-build:
+ rm -rf debian/cvs-build
+ mkdir -p debian/cvs-build
+ (cd debian/cvs-build;cvs -d $(CVS_ROOT) export -r $(LOGCHECK_CVSTAG) -d $(CVS_BUILDDIR) $(CVS_MODULE))
+cvs-clean:
+ -rm -rf debian/cvs-build
+