[Pkg-ceph-commits] [ceph] 10/16: rules: verbose mode for 'cp' and 'rm' commands

Dmitry Smirnov onlyjob at moszumanska.debian.org
Tue Mar 25 02:13:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch experimental
in repository ceph.

commit 038c688
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Mar 24 18:53:36 2014

    rules: verbose mode for 'cp' and 'rm' commands
---
 debian/rules | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 29a7e96..a58adb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,12 +44,12 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	cp src/upstart/rbdmap.conf debian/ceph.rbdmap.upstart
+	cp -v src/upstart/rbdmap.conf debian/ceph.rbdmap.upstart
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -f debian/ceph.logrotate debian/radosgw.logrotate
-	rm -f debian/*.upstart
+	rm -fv debian/ceph.logrotate debian/radosgw.logrotate
+	rm -fv debian/*.upstart
 
 override_dh_auto_install:
 	dh_auto_install
@@ -60,18 +60,18 @@ override_dh_installinit:
 	# Install upstart configurations using dh_installinit
 	for conf in `ls -1 src/upstart/ceph*.conf | grep -v mds`; do \
         name=`basename $$conf | cut -d . -f 1`; \
-        cp $$conf debian/ceph.$$name.upstart; \
+        cp -v $$conf debian/ceph.$$name.upstart; \
         dh_installinit -pceph --no-start --name=$$name; \
     done
 	for conf in `ls -1 src/upstart/ceph-mds*.conf`; do \
         name=`basename $$conf | cut -d . -f 1`; \
-        cp $$conf debian/ceph-mds.$$name.upstart; \
+        cp -v $$conf debian/ceph-mds.$$name.upstart; \
         dh_installinit -pceph-mds --no-start --name=$$name; \
     done
 	for conf in `ls -1 src/upstart/radosgw*.conf`; do \
         name=`basename $$conf | cut -d . -f 1`; \
         [ $$name = "radosgw" ] && name="radosgw-instance";\
-        cp $$conf debian/radosgw.$$name.upstart; \
+        cp -v $$conf debian/radosgw.$$name.upstart; \
         dh_installinit -pradosgw --no-start --name=$$name; \
     done
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list