summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2017-01-22 18:41:52 +0100
committerWill Estes <westes575@gmail.com>2017-01-23 13:45:34 -0500
commitb61b0fe9062cde716a7a789a4bb34fdff9292ed1 (patch)
tree47a85a11f1c2eb372f7a1b0e006f4a3e838d59bb /src/Makefile.am
parent078b46c69d063aef1715b11348a2871d6036f253 (diff)
build: Fix skel.c generation with BSD make
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 18aeec3..9fe0788 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -76,7 +76,7 @@ CLEANFILES = stage1scan.c stage1flex$(EXEEXT)
MAINTAINERCLEANFILES = skel.c
skel.c: flex.skl mkskel.sh flexint.h tables_shared.h tables_shared.c
- sed 's/4_/a4_/g; s/m4preproc_/m4_/g' $< | \
+ sed 's/4_/a4_/g; s/m4preproc_/m4_/g' flex.skl | \
$(m4) -P -I $(srcdir) \
-DFLEX_MAJOR_VERSION=` echo $(VERSION)|cut -f 1 -d .` \
-DFLEX_MINOR_VERSION=` echo $(VERSION)|cut -f 2 -d .` \