[Build-common-hackers] Bug#412388: cdbs: hbuild.mk assumes Setup.lhs

Trent Buck trentbuck at gmail.com
Sun Feb 25 20:24:09 UTC 2007


Package: cdbs
Version: 0.4.48
Severity: important

I'm trying to package shim[1], an Emacs interface for Haskell.  This
is my first attempt to package a Haskell project, so I may be doing
things wrong.

I notice that hbuild.mk assumes the Setup program (roughly analogous
to the ./configure file in an autotools project) is called Setup.lhs;
that is, a literate Haskell file.

In shim, the file is called Setup.hs; that is, a plain Haskell file.
hbuild.mk should support this scenario; it does not appear to
currently.

As far as I can tell, there is currently no way to `include hbuild.mk'
and then rewrite the clean rule, because cdbs uses :: rules rather
than : rules.

[1] http://shim.haskellco.de/




More information about the Build-common-hackers mailing list