Skip to content

sdist puts Happy-generated .hs files in the wrong place #159

Closed

Description

@bos

(Imported from Trac #166, reported by guest on 2007-10-23)

I want to use sdist to generate source distributions of Happy that don't depend on Happy, and hence come with the Happy-generated .hs files for the parsers. When I try this, the source files are included, but in the root of the tree, whereas Cabal seems to look for them in dist/build. I can move them by hand and re-generate the tarball, and that works.

I'm fairly sure this worked with older versions of Cabal.

Activity

  1. bos commented on May 24, 2012

    @bos
    ContributorAuthor

    (Imported comment by @dcoutts on 2007-10-23)

    Sun Mar 23 14:54:52 GMT 2008  Andrea Vezzosi <[email protected]>
    - FIX #166 by setting the right buildDir when preprocessing in sdist
      
    This fixes the immediate problem. The rest of the problem is that tarballs that have pre-generated files in dist/ will get cleaned. They should really go in another dir that is checked but not cleaned. I'll open a separate bug on that issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions