[Pkg-wmaker-commits] [wmtime] 32/101: use rm -f for make clean

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:59:26 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmtime.

commit 08251b2797207a0f503fbb71571edda303f08330
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jul 21 01:08:43 2014 -0500

    use rm -f for make clean
---
 debian/changelog                            |  4 +++-
 debian/patches/rm-force-in-make-clean.patch | 23 +++++++++++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a7f30e5..8468209 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,10 +3,12 @@ wmtime (1.1-2) unstable; urgency=low
   * debian/control
     + Bump Standards-Version to 3.9.5, no changes required.
     + Update Vcs-* fields.
+  * debian/patches/rm-force-in-make-clean.patch
+    + Use rm -f for make clean.
   * debian/rules
     + Simplify by using --sourcedirectory=wmtime.
 
- -- Doug Torrance <dtorrance at monmouthcollege.edu>  Sun, 20 Jul 2014 23:48:26 -0500
+ -- Doug Torrance <dtorrance at monmouthcollege.edu>  Mon, 21 Jul 2014 01:08:09 -0500
 
 wmtime (1.1-1) unstable; urgency=low
 
diff --git a/debian/patches/rm-force-in-make-clean.patch b/debian/patches/rm-force-in-make-clean.patch
new file mode 100644
index 0000000..3a05fcb
--- /dev/null
+++ b/debian/patches/rm-force-in-make-clean.patch
@@ -0,0 +1,23 @@
+Description: Use rm -f in make clean
+ This patch uses the -f option for rm in make clean so that no error occurs
+ when make clean is run while no object or binary files exist.  (It also adds
+ a newline at the end of the Makefile thanks to emacs.)
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: <2014-07-21>
+
+--- wmtime-1.1.orig/wmtime/Makefile
++++ wmtime-1.1/wmtime/Makefile
+@@ -17,9 +17,9 @@ wmtime: $(OBJS) $(XPMS)
+ 
+ clean::
+ 	for i in $(OBJS) ; do \
+-		rm $$i; \
++		rm -f $$i; \
+ 	done
+-	rm wmtime
++	rm -f wmtime
+ 
+ install:: wmtime
+-	install -m 755 wmtime $(DESTDIR)/usr/bin
+\ No newline at end of file
++	install -m 755 wmtime $(DESTDIR)/usr/bin
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad4365f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+rm-force-in-make-clean.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtime.git



More information about the Pkg-wmaker-commits mailing list