[darcs-users] Building a "snapshot" source tarball

Trent W. Buck twb at cybersource.com.au
Mon Nov 23 07:04:55 UTC 2009


Jason Dagit <dagit at codersbase.com> writes:

> On Sun, Nov 22, 2009 at 10:21 PM, Trent W. Buck <twb at cybersource.com.au>wrote:
>
>> I wanted to test my Debianization of Darcs against the latest checkout.
>> This requires an "upstream" source tarball (like you see on hackage).
>> I couldn't work out how to make the tarball.  I tried:
>>
>>    $ darcs dist
>>    autoconf: error: no input file
>>    Dist aborted due to predist failure
>>
>>    $ cabal configure
>>    Resolving dependencies...
>>    Configuring darcs-2.3.1...
>>
>
> Try adding a "cabal build" right here.  I think because we autogenerate some
> stuff that sdist doesn't work the way it "normally" does. [Note: I haven't
> tried it myself, I'm just speculating.]

I tried

    cabal configure && cabal build && make pdf html && cabal sdist

And it still complained, so I changed the make target to "make website",
and now it wants

    release/distributed-version

Which a cursory RTFS of Setup.lhs indicates should be generated in
sdist's (pre?)hook.



More information about the darcs-users mailing list