Skip to content

Conversation

@andreasabel
Copy link
Member

These modules should not be shipped but be generated by alex and
happy on the target system.

These modules should not be shipped but be generated by `alex` and
`happy` **on the target system**.

However, if we add them to `autogen-modules` even the `Lex.x/Par.y` will
not be shipped with `cabal sdist`.

Solution is to make sure that there is no `Lex/Par.hs` along `Lex.x/Par.y`
when invoking `cabal sdist`.  This is embodied in new goal `make sdist`.
@andreasabel andreasabel changed the title Add Lex/Par to autogen-modules in BNFC.cabal Don't add Lex/Par.hs to sdist tarball Nov 3, 2023
@andreasabel andreasabel linked an issue Nov 3, 2023 that may be closed by this pull request
@andreasabel andreasabel added this to the 2.9.5.1 milestone Nov 3, 2023
@andreasabel andreasabel merged commit bd539f4 into master May 30, 2024
@andreasabel andreasabel deleted the autogen-modules branch May 30, 2024 15:07
@andreasabel andreasabel modified the milestones: 2.9.5.1, 2.9.6 Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BNFC tarball ships Lex.hs and Par.hs

2 participants