summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makeconf b/Makeconf
index cbc6765f..709a5b18 100644
--- a/Makeconf
+++ b/Makeconf
@@ -428,3 +428,7 @@ endef
%.d: %.s
echo '$*.o: $<' > $@
+# Rule to make executable shell scripts from .sh files.
+%: %.sh $(top_srcdir)/sh-version.sed
+ sed -f $(top_srcdir)/sh-version.sed < $< > $@
+ chmod +x $@