From 49bbdc5bf26676aae1a8e7ca1c86805cf41768e1 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 13 Jul 2014 02:47:34 +0200 Subject: [PATCH] Add .NOTPARALLEL to generated Makefile. We don't want to add unnatural dependencies for patches, if for example both patch A and B modify the same file, but the order of applying the patches doesn't matter. Adding a dependency would cause trouble when excluding patches. --- debian/tools/patchupdate.py | 2 ++ patches/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/tools/patchupdate.py b/debian/tools/patchupdate.py index ef8c736e..5a66bb2b 100755 --- a/debian/tools/patchupdate.py +++ b/debian/tools/patchupdate.py @@ -224,6 +224,8 @@ def generate_makefile(patches, fp): fp.write("abort:\n") fp.write("\trm -f *.ok\n") fp.write("\n") + fp.write(".NOTPARALLEL:\n") + fp.write("\n") for i, patch in patches.iteritems(): fp.write("# Patchset %s\n" % patch.name) diff --git a/patches/Makefile b/patches/Makefile index 78752f25..8492658d 100644 --- a/patches/Makefile +++ b/patches/Makefile @@ -34,6 +34,8 @@ install: $(PATCHLIST) abort: rm -f *.ok +.NOTPARALLEL: + # Patchset 00-Commandline # | # | Included patches: