On Fri, Oct 03, 2003 at 07:33:12PM +0900, Jacques Garrigue wrote:
> From: Sven Luther <[EMAIL PROTECTED]>
> 
> > > Sven, could you update lablgtk1 up to 20030326? I think Cameleon is
> > > going to need it.
> > 
> > Ok, i will, altough it would be nicer if Jacques could make a new
> > lablgtk1 release (1.2.6).
> > 
> > Jacques ? Any timeframe for this ?
> 
> It is already available.
> (Actually I packed the tarball after your mail)

Arg ...

It still does not allow for an easy installation in place other than its
final resting place. Would you consider changing lablgl/lablgtk/lablgtk2
for supporting a single DESTDIR prefix ? I do it for now this way :

        $(MAKE) install\
                
LIBDIR=$(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/$(OCAML_VERSION) \
                BINDIR=$(CURDIR)/debian/liblablgtk-ocaml-dev/usr/bin

And apply this small patch to src/Makefile

@@ -137,6 +137,8 @@
        rm -f testcc.ml
 
 install:
+       @$(MAKE) real-install INSTALLDIR=$(LIBDIR)/lablgtk 
DLLDIR=$(LIBDIR)/stublibs BINDIR=$(BINDIR)
+real-install:
        if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR);
fi
        cp $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) $(INSTALLDIR)
        cp -p *.mli $(INSTALLDIR)

But some kind of propper DESTDIR support would be nicer.

Well, at least it properly cleans up now.

Friendly,

Sven Luther

Reply via email to