[Pkg-octave-commit] [octave-netcdf] 01/04: d/p/fix-make-clean.patch: New patch
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Sun May 15 21:54:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository octave-netcdf.
commit 840939363902be0bca7c570a90d702123605f44c
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Sun May 15 16:50:45 2016 -0300
d/p/fix-make-clean.patch: New patch
---
debian/patches/fix-make-clean.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/fix-make-clean.patch b/debian/patches/fix-make-clean.patch
new file mode 100644
index 0000000..28ec111
--- /dev/null
+++ b/debian/patches/fix-make-clean.patch
@@ -0,0 +1,23 @@
+Description: Fix cleaning of files
+ Add -f flag to the rm command for avoiding failure when removing
+ non-existent files. Also, add __netcdf__.o to the list of files to
+ be cleaned.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Forwarded: http://lists.gnu.org/archive/html/octave-maintainers/2016-05/msg00230.html
+Last-Update: 2016-05-14
+
+--- octave-netcdf-1.0.10.orig/src/Makefile
++++ octave-netcdf-1.0.10/src/Makefile
+@@ -15,10 +15,10 @@ constants:
+ $(AWK) -f netcdf_constants.awk $(NCHEADER) > netcdf_constants.h
+
+ clean:
+- rm __netcdf__.oct
++ rm -f __netcdf__.o __netcdf__.oct
+
+ real-clean: clean
+- rm ../PKG_ADD ../inst/import_netcdf.m
++ rm -f ../PKG_ADD ../inst/import_netcdf.m
+
+ __netcdf__.oct: $(SRC) netcdf_constants.h
+ $(MKOCTFILE) $(CFLAGS) $(SRC) $(LIBS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6f74f37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-make-clean.patch
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-netcdf.git
More information about the Pkg-octave-commit
mailing list