Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
bos opened this Issue · 1 comment

1 participant

@bos
Owner

(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.

@bos
Owner

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

Sun Mar 23 14:54:52 GMT 2008  Andrea Vezzosi <sanzhiyan@gmail.com>

  • 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.
@bos bos closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.