aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-03 18:01:21 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-03 18:01:21 +0400
commit27992ee8dde900771e1ea7bf5d510f2af5756c63 (patch)
tree205098571b823c09f9127938e29c4fbd01087ca8
parent5553685c02daa07af50dc4b3c45622d75432c759 (diff)
downloadcibs-27992ee8dde900771e1ea7bf5d510f2af5756c63.tar.gz
rules/patch.mk: support series file
-rw-r--r--rules/patch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/patch.mk b/rules/patch.mk
index 36dbb66..7c6951d 100644
--- a/rules/patch.mk
+++ b/rules/patch.mk
@@ -27,7 +27,7 @@ ifeq (,$(__patch_mk))
build-depends += gnu-patch
patchdir = $(CURDIR)/patches
-patches = $(shell [ -d "$(patchdir)" ] && cd "$(patchdir)" && ls -1 | sort)
+patches = $(shell [ -d "$(patchdir)" ] && cd "$(patchdir)" && grep -v '^\#' series || ls -1 | sort)
# Try different path levels:
applied-%-stamp: $(patchdir)/% unpack-stamp