aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2021-08-23 22:47:02 +0200
committerTeddy Wing2021-08-23 22:47:02 +0200
commitc25e99c1c795450c0f792fdadbff37d3de078099 (patch)
treea1eacd7be9b99f6335bf33b663c238eccb9dc9e8 /Makefile
parent6a82a96ff11f755b50eb0df79617035074c381fa (diff)
downloadreadline-incdec-c25e99c1c795450c0f792fdadbff37d3de078099.tar.bz2
Generate `incdec` from `incdec.m4`
Include the built `incdec.pl` code in the Bash file by generating it from `incdec.pm`.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b1a3109..2babb4a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,3 +7,6 @@ incdec.pl: incdec.pl.m4 incdec.pm
sed -n '/sub incdec {/,/^}/p' incdec.pm > incdec.sub.pl
m4 $< > $@
rm incdec.sub.pl
+
+incdec: incdec.m4 incdec.pl
+ m4 $< > $@