Re: System configuration during install

2001-07-06 Thread Rusty Ballinger
> David> If possible, I would like to support the widest range of > David> systems possible with the constraint that I don't as yet > David> understand how they vary. > > I think most people handle this by writing a document for their > project that says "once `make install' is done, here is how y

Re: override default CXXFLAGS

2001-06-22 Thread Rusty Ballinger
> I set the CXXFLAGS via AM_CXXFLAGS in Makefile.am. the relase version > should have no -g flag... but there is a default CXX_FLAGS variable in > Makefile which has always the -g flag. how can I remove this one? One way is to set it in the environment when running the configure script: $ CXXF

Re: interpolating automake variables?

2001-06-12 Thread Rusty Ballinger
> > Hey, I have a question about the interpolation of automake variables like > > pkglibdir, pkgdatadir, etc. > > The way to do it recommended in the GNU coding standards is to do it > in Makefiles, not at configure-time, so that the user can override the > setting of prefix, exec_prefix, etc, dur

interpolating automake variables?

2001-06-03 Thread Rusty Ballinger
Hey, I have a question about the interpolation of automake variables like pkglibdir, pkgdatadir, etc. Suppose your package installs programs and scripts which need to know where to find your package's data files, and you want your documentation to have the full paths of your program, etc. The wa

Re: Scripts...

2001-04-10 Thread Rusty Ballinger
> What is the best way to have a script/program where $pkgdatadir is > located? > > For C, it's easy enough just to do > CCFLAGS=-DPKGDATADIR="\""$(pkgdatadir)"\"" but what about things like perl > scripts that have to pull option files and such. Is there a standard way > to tackle this? There m

Re: problem with make install and java

2001-02-28 Thread Rusty Ballinger
>I'm using automake with mix C++ and Java code. Everything is fine, > even the creating of JNI header files, except for one thing. On > "make install", the .class files get copied into the installation > directory. Since, I'm creating a .jar file, which gets installed in > $prefix/share,

Re: include only in cvs-automake?

2001-02-09 Thread Rusty Ballinger
> Wow. I almost sent a message to say that I had definitely used > `include' in some old (circa-1997) projects. But I dug out the code, > and it seems I was relying on make's own include implementation. I am > still using automake-1.4 (so that I can be certain that the upcoming > libtool releas

Re: More an autopackage

2001-01-22 Thread Rusty Ballinger
> > This module may be very valuable for you if you want to create packages > > not as root. GNU tar cannot be tricked into hardcoding the ownership > > different from the actual ones (as far as I know). > > You can use 'fakeroot' (now called 'libtricks' I think) from Debian. > It is essentially a

Re: More an autopackage

2001-01-18 Thread Rusty Ballinger
> > Wouldn't Perl5 be a more widely acceptable choice? Considerably so? > > (Indeed, isn't automake already in Perl? Why choose something different? > > Especially when that something is considerably less widely installed?) > > Because Perl is almost unreadable and Python is a very nice language

Re: Package support (RPM, deb, pkg, kits, etc.)

2001-01-12 Thread Rusty Ballinger
> There were two reasons I stopped doing this. > > One reason is that it isn't clear that this is needed. At least the > Debian and RPM communities have already solved these problems to their > satisfaction. I disagree in two ways: - As a developer who builds & distributes packages, I'd love a

Re: [patch] libtoolize --acdir --ltdir

2001-01-03 Thread Rusty Ballinger
> > Did this patch go in to libtool? > > Not yet. Having it posted to the right mailing list > ([EMAIL PROTECTED]) *might* help accelerating the process, since > then other maintainers of libtool might look into it. Thanks; I just sent the libtoolize parts of the patch to that list. --Rusty

Re: noinst_JAVA

2001-01-03 Thread Rusty Ballinger
> > Hey, a thing that's bothered me for a while is that noinst_JAVA > > is broken. > > Thanks, I checked in your patch. One problem with the patch is that since the noinst_JAVA stuff is "noinst", there's no install-data-am dependency on "install-noinstJAVA" or classnoinst.stamp, so a "make instal

[patch] noinst_JAVA

2000-11-11 Thread Rusty Ballinger
Hey, a thing that's bothered me for a while is that noinst_JAVA is broken. If you use noinst_JAVA, your .java files are still assigned to noinst_JAVA, and clean-noinstJAVA removes classnoinst.stamp, but DIST_COMMON gets $(_JAVA) instead of $(noinst_JAVA), all-am depends on class.stamp instead of

[patch] libtoolize --acdir --ltdir

2000-11-10 Thread Rusty Ballinger
nd assume that Automake libtool support is used. @@ -1934,6 +1939,11 @@ @item --help Display a help message and exit. + +@item --ltdir=@var{dir} +Look for libtool data files in directory @var{dir} instead of in the +installation directory. If you use this, you may also want to use +@code{--acdir}. @item

libtoolize --acdir --ltdir?

2000-11-08 Thread Rusty Ballinger
It's nice that autoconf's --macrodir and automake's --amdir let you specify alternate directories to load files from. Unfortunately, when automake calls libtoolize, it appears that there's no way for it to tell libtoolize to use a different pkgdatadir or aclocaldir. One approach would be to add