Attempt to fix macOS workflow mk7

This commit is contained in:
ejurgensen 2022-01-12 09:20:25 +01:00
parent 54f6004bf9
commit 35382d1a7e
2 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,8 @@ jobs:
# /usr/local because macOS already provides this software. # /usr/local because macOS already provides this software.
run: | run: |
brew install gperf bison flex brew install gperf bison flex
echo 'export PATH="/usr/local/opt/bison/bin:/usr/local/opt/flex/bin:$PATH"' >> /Users/runner/.bash_profile sudo ln -s /usr/local/opt/bison/bin/bison /usr/local/bin/bison
export PATH="/usr/local/opt/bison/bin:/usr/local/opt/flex/bin:$PATH" sudo ln -s /usr/local/opt/flex/bin/flex /usr/local/bin/flex
- name: Install libinotify-kqueue - name: Install libinotify-kqueue
# brew does not have libinotify package # brew does not have libinotify package

View File

@ -163,6 +163,8 @@ EXTRA_DIST = \
# to the particular target name, so a header file name. # to the particular target name, so a header file name.
$(LEXER_SRC:.l=.h): $(LEXER_SRC) $(LEXER_SRC:.l=.h): $(LEXER_SRC)
$(LEX) --header-file=$@ --stdout $(@:.h=.l) > /dev/null $(LEX) --header-file=$@ --stdout $(@:.h=.l) > /dev/null
$(YACC) --version
which $(YACC)
# Anything built by make should be cleaned by make clean, but when it comes to # Anything built by make should be cleaned by make clean, but when it comes to
# flex/bison automake's support leaves something to be desired # flex/bison automake's support leaves something to be desired