[Logcheck-commits] Hannes von Haugwitz: Added logcheck-test and man page to package
Gerfried Fuchs
alfie at alioth.debian.org
Thu Feb 25 19:21:07 UTC 2010
Module: logcheck
Branch: lenny-backports
Commit: 2a864c0f3f0506431379b2e365ab8a233f563f6a
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=2a864c0f3f0506431379b2e365ab8a233f563f6a
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date: Thu Feb 18 22:03:06 2010 +0100
Added logcheck-test and man page to package
---
Makefile | 4 ++++
debian/logcheck.files | 1 +
debian/rules | 1 +
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 87711f7..7acec16 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
CONFDIR = etc/logcheck
SBINDIR = usr/sbin
+BINDIR = usr/bin
SHAREDIR = usr/share/logtail/detectrotate
all:
@@ -11,6 +12,7 @@ install:
install -m 750 -d $(DESTDIR)/$(CONFDIR)
install -d $(DESTDIR)/var/lib/logcheck
install -d $(DESTDIR)/$(SBINDIR)
+ install -d $(DESTDIR)/$(BINDIR)
install -d $(DESTDIR)/var/lock/logcheck
install -d $(DESTDIR)/$(SHAREDIR)
@@ -26,6 +28,7 @@ install:
install -m 755 src/logcheck $(DESTDIR)/$(SBINDIR)/
install -m 755 src/logtail $(DESTDIR)/$(SBINDIR)/
install -m 755 src/logtail2 $(DESTDIR)/$(SBINDIR)/
+ install -m 755 src/logcheck-test $(DESTDIR)/$(BINDIR)/
install -m 755 src/detectrotate/10-savelog.dtr $(DESTDIR)/$(SHAREDIR)/
install -m 755 src/detectrotate/20-logrotate.dtr $(DESTDIR)/$(SHAREDIR)/
install -m 755 src/detectrotate/30-logrotate-dateext.dtr $(DESTDIR)/$(SHAREDIR)/
@@ -53,6 +56,7 @@ clean:
-rm -f $(DESTDIR)/$(SBINDIR)/logcheck
-rm -f $(DESTDIR)/$(SBINDIR)/logtail
-rm -f $(DESTDIR)/$(SBINDIR)/logtail2
+ -rm -f $(DESTDIR)/$(BINDIR)/logcheck-test
# Remove the configfiles
-rm -f $(DESTDIR)/$(CONFDIR)/logcheck.logfiles
-rm -f $(DESTDIR)/$(CONFDIR)/logcheck.conf
diff --git a/debian/logcheck.files b/debian/logcheck.files
index 7644feb..5c97602 100644
--- a/debian/logcheck.files
+++ b/debian/logcheck.files
@@ -1,4 +1,5 @@
usr/sbin/logcheck
+usr/bin/logcheck-test
var/lib/logcheck/
etc/logcheck/logcheck.logfiles
etc/logcheck/logcheck.conf
diff --git a/debian/rules b/debian/rules
index ca961d2..537bdbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,6 +57,7 @@ binary-indep: build install
dh_installman -p logtail docs/logtail.8
dh_installman -p logtail docs/logtail2.8
dh_installman -p logcheck docs/logcheck.8
+ dh_installman -p logcheck docs/logcheck-test.1
dh_installchangelogs
dh_compress
dh_fixperms --exclude etc/logcheck
More information about the Logcheck-commits
mailing list