diff options
author | Joseph Langley <mightyjo@gmail.com> | 2021-06-04 00:33:30 -0400 |
---|---|---|
committer | Joseph Langley <mightyjo@gmail.com> | 2021-06-04 00:33:30 -0400 |
commit | e6472493e20fc1e604592b7a698f85e515d97856 (patch) | |
tree | 74f83473a09943d4c1256cd4d88f4de7089f7059 | |
parent | e50f889082e8a5ee301222b0495ad3d6aa312506 (diff) | |
download | flex-git-e6472493e20fc1e604592b7a698f85e515d97856.tar.gz |
fix(build): Replace wildcards in Makefile.am.
Wildcards were causing automake to generate build rules for the *-filename dummies. They're not generally portable.
-rwxr-xr-x[-rw-r--r--] | src/Makefile.am | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4a4fa15..fada4a7 100644..100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -88,14 +88,22 @@ include_HEADERS = \ FlexLexer.h EXTRA_DIST = \ - *-flex.skl \ + c99-flex.skl \ + cpp-flex.skl \ + go-flex.skl \ mkskel.sh \ - gettext.h + gettext.h \ + chkskel.sh CLEANFILES = stage1scan.c stage1flex$(EXEEXT) +BUILT_SOURCES = \ + cpp-flex.h \ + c99-flex.h \ + go-flex.h + clean-local: - rm -f *-flex.h + rm -f $(BUILT_SOURCES) cpp-flex.h: cpp-flex.skl mkskel.sh flexint_shared.h tables_shared.h tables_shared.c $(SHELL) $(srcdir)/mkskel.sh cpp $(srcdir) $(m4) $(VERSION) > $@.tmp |