On Thu, 09 Apr 2009 17:38:59 +0900, Eric Y. Kow <eric.kow@...> wrote:
>> > - install wxWidgets (configure, etc)
>> > - install wxc (configure, etc)
>> > - cabal install wx
>>
>> I agree this change is useful. But that is not good for all Windows users.
>> I think we must modify your patch to support binary distribution.
>
> Do you have a clear picture what needs to be done? I don't really.
I think we need not remove wxcore-install-files, (WXCORE-LIB) and other
make targets. We just modify all and install targets, and add wxcore-gen
and wxcore-install targets.
For example:
all: wxcore-gen
install: wxc-install-files
wxcore: wxcore-gen $(WXCORE-LIBS)
wxcore-gen: wxd wxc wxcore-dirs $(WXCORE-GEN-HS)
wxcore-install wxcore-install-files wxcore-register
Then we can build bindist by following command.
./configure
make
make install (Windows doesn't require this command.)
make wxcore
make wxcore-install
make wx
make bindist
We use above solution for removing wx package from make process before.
We can use it for current problem, too.
Alternative solution is that "make bindist" copies wxcore/dist and
wx/dist file to make binary distribution. I don't know this is easy
or not.
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/
|