summaryrefslogtreecommitdiff
path: root/sutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/Makefile')
-rw-r--r--sutils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/Makefile b/sutils/Makefile
index 823c69c3..e06ef317 100644
--- a/sutils/Makefile
+++ b/sutils/Makefile
@@ -34,7 +34,7 @@ include ../Makeconf
fsck: fstab.o clookup.o
reboot halt fsck: ../libshouldbeinlibc/libshouldbeinlibc.a
-%: %.sh
- cp $< $@
+%: %.sh $(top_srcdir)/sh-version.sed
+ sed -f $(top_srcdir)/sh-version.sed < $< > $@
$(filter-out $(special-targets), $(targets)): %: %.o