void-packages/srcpkgs/par2cmdline/patches/avoid-corrupt-files-in-wrkd...

26 lines
641 B
Diff

From 2d94e1e2aa8a927b00b666f1091cb2344d754f06 Mon Sep 17 00:00:00 2001
From: BlackEagle <ike.devolder@gmail.com>
Date: Sat, 6 Jan 2018 23:08:53 +0100
Subject: [PATCH] Add .DELETE_ON_ERROR to avoid corrupt files in workdir
@see http://rdiez.shoutwiki.com/wiki/GNU_Make_and_Autotools#.DELETE_ON_ERROR_is_a_must
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
---
Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git Makefile.am Makefile.am
index f404fd0..64ed9d2 100755
--- Makefile.am
+++ Makefile.am
@@ -19,6 +19,8 @@
AUTOMAKE_OPTIONS = subdir-objects
+.DELETE_ON_ERROR:
+
bin_PROGRAMS = par2
man_MANS = man/par2.1