Commits

Yuya Nishihara committed 9aec84e

use new debian package style

Comments (0)

Files changed (1)

 --- /dev/null
 +++ b/debian/compat
 @@ -0,0 +1,1 @@
-+7
++8
 diff --git a/debian/control b/debian/control
 new file mode 100644
 --- /dev/null
 +Section: vcs
 +Priority: optional
 +Maintainer: Yuya Nishihara <yuya@tcha.org>
-+Build-Depends: cdbs, debhelper (>= 7)
-+Standards-Version: 3.9.1
++Build-Depends: debhelper (>= 8.0.0)
++Standards-Version: 3.9.4
 +Vcs-Hg: http://vc.gerg.ca/hg/vcprompt/
 +Vcs-Browser: http://vc.gerg.ca/hg/vcprompt/
 +
 +
 +Copyright:
 +
-+    Copyright (C) 2009, 2010, Gregory P. Ward and contributors.
++    Copyright (C) 2009-2013, Gregory P. Ward and contributors.
 +
 +License:
 +
 new file mode 100755
 --- /dev/null
 +++ b/debian/rules
-@@ -0,0 +1,7 @@
+@@ -0,0 +1,11 @@
 +#!/usr/bin/make -f
++# -*- makefile -*-
 +
-+include /usr/share/cdbs/1/rules/debhelper.mk
-+include /usr/share/cdbs/1/class/makefile.mk
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
 +
-+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/vcprompt PREFIX=/usr
-+DEB_MAKE_CHECK_TARGET := check
++%:
++	dh $@
++
++override_dh_auto_install:
++	$(MAKE) DESTDIR=$(CURDIR)/debian/vcprompt PREFIX=/usr install
 diff --git a/debian/source/format b/debian/source/format
 new file mode 100644
 --- /dev/null
 new file mode 100644
 --- /dev/null
 +++ b/debian/vcprompt.1
-@@ -0,0 +1,73 @@
+@@ -0,0 +1,76 @@
 +.\"                                      Hey, EMACS: -*- nroff -*-
 +.\" First parameter, NAME, should be all caps
 +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 +vcprompt \- prints a short string about VCS for shell prompt
 +.SH SYNOPSIS
 +.B vcprompt
-+[-h] [-d] [-f FORMAT]
++[-h] [-d] [-t timeout_ms] [-f FORMAT]
 +.SH DESCRIPTION
 +This manual page documents briefly the
 +.B vcprompt
 +.B \-d
 +enable debugging output
 +.TP
++.B \-t
++stop long-running invocation
++.TP
 +.B \-f
 +specify output format
 +.SH FORMATS