Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't add Lex/Par.hs to sdist tarball #466

Merged
merged 1 commit into from
May 30, 2024
Merged

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
25 checks passed
@andreasabel andreasabel deleted the autogen-modules branch May 30, 2024 15:07
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
1 participant