diff options
| author | Teddy Wing | 2021-08-24 20:10:29 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-08-24 20:10:29 +0200 |
| commit | d704b029c93adec24c3d2556974e8947b15ad2a0 (patch) | |
| tree | f9d505ff963cd2ef8af74fb5e38fe95a264ea3b0 /Makefile | |
| parent | b4ab3e4b5ed6346a0a05dc0c43bf9bcb5e892e1d (diff) | |
| download | readline-incdec-d704b029c93adec24c3d2556974e8947b15ad2a0.tar.bz2 | |
Rename `incdec.pl.m4` to `incdec.m4.pl`
Like we did for the `incdec.m4` Bash include, rename the Perl M4 file to
give it a `.pl` extension so we get Perl syntax highlighting. Similarly
define an include macro so quoting doesn't mess up highlighting.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,9 +5,9 @@ all: incdec incdec: incdec.m4.bash incdec.pl m4 --define="INCLUDE_INCDEC_PL=include(\`incdec.pl')dnl" $< > $@ -incdec.pl: incdec.pl.m4 incdec.pm +incdec.pl: incdec.m4.pl incdec.pm sed -n '/sub incdec {/,/^}/p' incdec.pm > incdec.sub.pl - m4 $< > $@ + m4 --define="INCLUDE_INCDEC_SUBROUTINE=include(\`incdec.sub.pl')dnl" $< > $@ rm incdec.sub.pl |
