diff options
| author | Teddy Wing | 2021-08-23 21:20:15 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-08-23 21:20:15 +0200 |
| commit | 6a82a96ff11f755b50eb0df79617035074c381fa (patch) | |
| tree | 120d5096e1ab3aba74cefb82019d451a86f470f1 /Makefile | |
| parent | 326a01a6bd43cb50b29ed49f9f08c6cbb6ff3be3 (diff) | |
| download | readline-incdec-6a82a96ff11f755b50eb0df79617035074c381fa.tar.bz2 | |
Build final Perl program from `incdec.pm`
Build an intermediary Perl file that includes the extra lines that call
`incdec()`. This whole file should be included in the final Bash
function `perl -e` call.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ .PHONY: test test: prove -v + + +incdec.pl: incdec.pl.m4 incdec.pm + sed -n '/sub incdec {/,/^}/p' incdec.pm > incdec.sub.pl + m4 $< > $@ + rm incdec.sub.pl |
