Skip to content

Commit

Permalink
fix(build): Replace wildcards in Makefile.am.
Browse files Browse the repository at this point in the history
Wildcards were causing automake to generate build rules for the *-filename dummies. They're not generally portable.
  • Loading branch information
Mightyjo committed Jun 4, 2021
1 parent e50f889 commit e647249
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/Makefile.am
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e647249

Please sign in to comment.