summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index ea0c588..ec8135f 100644
--- a/common.mk
+++ b/common.mk
@@ -94,7 +94,7 @@ _do_patch = $(filter $(patsubst %.patch,%,$(wildcard *.patch)),$(patsubst %.in,%
%.ugly: %.in %.patch Makefile
cp $*.in $@
@echo 'PATCH $@ $*.patch'; patch $@ $*.patch
-$(_do_patch): %: %.ugly Makefile
+$(sort $(_do_patch)): %: %.ugly Makefile
@echo 'EDIT < $< > $@'; $(edit) <'$<' >'$@'
@echo 'INDENT $@'; $(call indent,$@)
$(if $(filter-out %.sh,$@),chmod 755 "$@")