[fcm] 02/05: More files
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Jun 19 11:10:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository fcm.
commit 5eda717fb091892e27d652c357baa3f726f29e4f
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Wed Nov 19 17:14:56 2014 +0000
More files
---
debian/bash_completion.d/fcm | 11 +++++++++++
debian/control | 8 +++++---
debian/fcm.docs | 3 +++
debian/fcm.install | 2 ++
debian/fcm.manpages | 1 +
debian/rules | 14 +++++++++-----
6 files changed, 31 insertions(+), 8 deletions(-)
diff --git a/debian/bash_completion.d/fcm b/debian/bash_completion.d/fcm
new file mode 100644
index 0000000..aff77b8
--- /dev/null
+++ b/debian/bash_completion.d/fcm
@@ -0,0 +1,11 @@
+complete -W " \
+branch-create bcreate bc branch-delete bdelete bdel brm \
+branch-diff bdiff bdi branch-info binfo branch-list bls \
+browse trac www build cfg-print cfg cmp-ext-cfg conflicts cf \
+export-items extract gui keyword-print kp \
+loc-layout make mkpatch test-battery \
+add commit ci delete del remove rm diff di merge switch sw update up \
+" -f fcm
+
+# fcm_graphic_diff [-u] [-L OLD_LABEL] [-L NEW_LABEL] OLD NEW
+complete -W "-u -L " fcm_graphic_diff
diff --git a/debian/control b/debian/control
index 4969e63..504069c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,12 +2,14 @@ Source: fcm
Section: utils
Maintainer: Alastair McKinstry <mckinstry at debian.org>
Standards-Version: 3.9.6
-Build-Depends: debhelper (>= 9), libconfig-ini-perl
+Build-Depends: debhelper (>= 9), libconfig-ini-perl, libclass-dbi-sqlite-perl,
+ libxml-parser-perl, perl-tk, subversion, xxdiff, rsync, diffutils,
+ libsvn-perl
Homepage: http://www.metoffice.gov.uk/research/collaboration/fcm
Package: fcm
-Architecture: any
-Depends: xxdiff, diffutils, perl-tk, libconfig-ini-perl
+Architecture: all
+Depends: xxdiff, diffutils, ${perl:Depends}
Description: Flexible Configuration Manager
FCM is a set of tools for managing and building source code.
FCM uses Subversion for code management but defines a common process
diff --git a/debian/fcm.docs b/debian/fcm.docs
index d3cbb21..e9910bb 100644
--- a/debian/fcm.docs
+++ b/debian/fcm.docs
@@ -2,3 +2,6 @@ ACKNOWLEDGEMENT.md
CONTRIBUTING.md
README.md
CHANGES.md
+index.html
+doc/*
+tutorials/*
diff --git a/debian/fcm.install b/debian/fcm.install
index 8412b99..56f68fb 100644
--- a/debian/fcm.install
+++ b/debian/fcm.install
@@ -1,2 +1,4 @@
bin/* /usr/bin
+sbin/fcm-* /usr/sbin
etc/fcm
+debian/bash_completion.d/* /etc/bash_completion.d
diff --git a/debian/fcm.manpages b/debian/fcm.manpages
new file mode 100644
index 0000000..103ff74
--- /dev/null
+++ b/debian/fcm.manpages
@@ -0,0 +1 @@
+man/man1/fcm.1
diff --git a/debian/rules b/debian/rules
index 5cfdb89..8862f0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,15 @@
#!/usr/bin/make -f
-export DH_VERBOSE=1
-
-# The magic debhelper rule
%:
- dh $@ --with autoreconf
+ dh $@
+
+PERL_VERSION:=5.20
-DESTDIR:=`pwd`/debian/tmp/
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+PERLDIR:=$(LIBDIR)/perl/$(PERL_VERSION)
+
+override_dh_auto_install:
+ mkdir -p debian/tmp/$(PERLDIR)
+ cp -a lib/* debian/tmp/$(PERLDIR)
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fcm.git
More information about the debian-science-commits
mailing list