From 29f418e5b19fdabcb2ad6735a4d92b269ab3cfb3 Mon Sep 17 00:00:00 2001 From: Rhonda D'Vine Date: Tue, 12 Apr 2016 14:04:20 +0200 Subject: [PATCH] New patch fix-makefile to make make clean not fail --- debian/changelog | 1 + debian/patches/fix-makefile | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 18 insertions(+) create mode 100644 debian/patches/fix-makefile diff --git a/debian/changelog b/debian/changelog index 5cb0ccf..fe7ae69 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ beep (1.3-4) unstable; urgency=low * Update my name. * Bump Standards-Version to 3.9.6. * Switch to source format 3.0 (quilt). + * New patch fix-makefile to make make clean not fail. * Add #DEBHELPER# to post{inst,rm} files. -- diff --git a/debian/patches/fix-makefile b/debian/patches/fix-makefile new file mode 100644 index 0000000..22095e4 --- /dev/null +++ b/debian/patches/fix-makefile @@ -0,0 +1,16 @@ +Author: Rhonda D'Vine +Description: make the make clean not fail if the binary isn't there + +Index: VCS/Makefile +=================================================================== +--- VCS.orig/Makefile 2016-01-04 13:32:23.518723192 +0100 ++++ VCS/Makefile 2016-01-17 12:50:49.026997125 +0100 +@@ -8,7 +8,7 @@ + default : beep + + clean : +- rm ${EXEC_NAME} ++ -rm ${EXEC_NAME} + + beep : beep.c + ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c diff --git a/debian/patches/series b/debian/patches/series index b3e33f3..2c1d9d6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ catch-sig-term +fix-makefile -- 2.39.5