Re: RFC: doc for `Handling Tools that Produce Many Outputs'

2004-02-01 Thread Ben Pfaff
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > This is a new section I'd like to add to the FAQ. It has been > discussed two or three times on the list. It would be useful to have this in the Texinfo documentation for GNU Make, not just for Automake.

Re: HATE

2004-02-05 Thread Ben Pfaff
oconf2.13 and (2) most of the time the proper version should be selected automatically when you type "autoconf", as long as you install both versions. -- Ben Pfaff email: [EMAIL PROTECTED] web: http://benpfaff.org

Re: RFC: doc for `Handling Tools that Produce Many Outputs'

2004-02-09 Thread Ben Pfaff
Akim Demaille <[EMAIL PROTECTED]> writes: > > Personally, I positively *like* "witness" - it describes what it is > > in a colourful way. > > For the records, this is the official English word for the same > concept in logic. A witness of an existential quantifier \exists > x. P(x) is precisely

Re: Target-specific CFLAGS

2004-02-24 Thread Ben Pfaff
CFLAGS = -DFEATURE >> > ... >> Where have I gone wrong? > > Of course, when my source files are C++ files the _CFLAGS extension does > nothing. Changing this to _CPPFLAGS fixed the problem. Duh. You know that CPPFLAGS is for the C preprocessor and CXXFLAGS is

Re: Target-specific CFLAGS

2004-02-24 Thread Ben Pfaff
Bob Friesenhahn <[EMAIL PROTECTED]> writes: > On Tue, 24 Feb 2004, Ben Pfaff wrote: >> > >> > Of course, when my source files are C++ files the _CFLAGS extension does >> > nothing. Changing this to _CPPFLAGS fixed the problem. Duh. >> >> You

Re: excessive bounces

2004-05-29 Thread Ben Pfaff
I recommend reading the autoconf and automake lists via the NNTP server at gmane.org, as the gmane.comp.sysutil.auto{conf,make}.* groups. They filter spam for you and you don't have to screw around with email subscriptions. -- "Implementation details are beyond the scope of the Java virtual mach

Re: Modify $PATH for all subdirectories

2011-04-07 Thread Ben Pfaff
@ --or --other Why use Autoconf for this? Just add a variable to Makefile.am: SOME_TEST = $(top_builddir)/scripts/test/install/bin/something check-local: check-something check-something: $(SOME_TEST) --or --other -- Ben Pfaff http://benpfaff.org

Re: Modify $PATH for all subdirectories

2011-04-07 Thread Ben Pfaff
Automake "include" directive to include that in each of your "Makefile.am"s. Personally I prefer the latter. One sometimes-nice advantage is that modifying the include file requires only rerunning Automake, which is faster than rerunning Autoconf and Automake. -- Ben Pfaff http://benpfaff.org

Re: unoconv listener in an automake file?

2011-08-14 Thread Ben Pfaff
ards. It sounds (from this message and from other replies) that this is not really trivial. So, I would write a separate shell script that does everything needed properly and invoke that from the Makefile. It's much easier, in my opinion, to write nontrivial bits of shell in separate scripts than to try to maintain them inside a Makefile. -- Ben Pfaff http://benpfaff.org

Re: Cover Texts in the automake documentation

2006-04-10 Thread Ben Pfaff
Eric Dorland <[EMAIL PROTECTED]> writes: > * Alexandre Duret-Lutz ([EMAIL PROTECTED]) wrote: >> >> Eric: >> | Is there any way you might consider dropping the >> | Front and Back Cover Texts requirements from the manual? >> >> Sorry, this is the FSF policy. Not my call. > > Could you please poi

Re: RFC: "Autotools Introduction" chapter draft (16 pages long)

2006-08-14 Thread Ben Pfaff
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: > Over the last weeks I've been writing an introductory chapter > for the Automake manual. Now I could use some proofreading > eyes, especially since I'm a foreigner. Other suggestions > welcome too, of course. I'm always amazed how well people w

Re: trying to find a good solution to filename clash

2007-02-16 Thread Ben Pfaff
e build directory corresponding to the subdirectory of the source file. For instance, if the source file is `subdir/file.cxx', then the output file would be `subdir/file.o'. In order to use this option with C sources, you should add `AM_PROG_CC_C_O' to `configure.ac'. -- Ben Pfaff [EMAIL PROTECTED] http://benpfaff.org

Re: Circular dependencies and test programs

2007-10-20 Thread Ben Pfaff
hey will be built only for "make check", not for "make all" or "make install". -- Ben Pfaff http://benpfaff.org

noinst_TEXINFOS does not build Info files

2007-11-11 Thread Ben Pfaff
d. Is noinst_TEXINFOS unsupported? The manual says nothing about it as far as I can tell. I see a 5-year-old patch that would have added support for noinst_TEXINFOS: http://thread.gmane.org/gmane.comp.sysutils.automake.patches/191 It appears to have never been applied. -- Ben Pfaff http://benpfaff.org

Re: BUILT_SOURCES doesn't seem to work

2008-05-04 Thread Ben Pfaff
"Bobby Dill" <[EMAIL PROTECTED]> writes: > pkgmaker_UI = > sigcreatedlg.h > sigcreatedlg.cpp One obvious error is here: the first two lines should end in \. -- "[Modern] war is waged by each ruling group against its own subjects, and the object of the war is not to make or prevent conqu

Re: Installing compressed info files

2008-05-27 Thread Ben Pfaff
he dh_compress program used in many Debian packages automatically finds and compresses any Info documents and manpages (and some other kinds of files) that are not already compressed. -- Ben Pfaff http://benpfaff.org

Re: preprocessor output target

2008-06-05 Thread Ben Pfaff
#x27;gcc -E' init.o mv init.o init.i -- Ben Pfaff http://benpfaff.org

Re: best practice for injecting include dir across a project

2008-07-28 Thread Ben Pfaff
Monty Taylor <[EMAIL PROTECTED]> writes: > I've got a project that has 24 Makefile.am files. At the top of all of > them at the moment, I've got: > > AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include I tend to write "include $(top_srcdir)/Make.vars" at the top of each Makefile.am, a

Re: Incorrect information in the manual about the tar-v7 option

2008-09-17 Thread Ben Pfaff
rmat. See: [...] > Should autotools add even more workarounds, or should rather > simply BusyBox be fixed? If only old versions of BusyBox do not support v7 tar format, as Vincent implies, then BusyBox has already been fixed, and Nokia just needs to upgrade to a current version. -- Ben Pfaff http://benpfaff.org

Re: Feature request

2008-09-24 Thread Ben Pfaff
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > * Akim Demaille wrote on Tue, Sep 23, 2008 at 04:35:50PM CEST: >> >> I'm slowly getting rid of my recursive Makefiles. Instead I have one >> local.mk per directory, and a few Makefile.ams that include them. Of >> course I have to prefix all my fi

Re: automake not descending into subdirectories to create Makefile.in's

2008-09-25 Thread Ben Pfaff
"Laura Hughes (lahughes)" <[EMAIL PROTECTED]> writes: > My directory struct looks like this: > > topdir/ >src/ >src/basic_utilities >src/ethernet_tests/bc5709_tests >src/ethernet_tests/bc57711_tests >src/mezzanine_card_tests [...] > AC_CONFIG_FILES([Makefile >

Re: noinst_TEXINFOS

2009-04-29 Thread Ben Pfaff
Stefan Bienert writes: > Could it be that a primary > > noinst_TEXINFOS > > does not work with automake 1.10.2? This seems likely. I reported the same problem some time ago: http://permalink.gmane.org/gmane.comp.sysutils.automake.bugs/4046 My report did not receive any r

EXTRA_DIST respects Automake conditionals?

2009-07-29 Thread Ben Pfaff
Makefile.am in question: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=Makefile.am;h=dccb8cfdf92a3dd4dc9f3276e7533f68769587f8;hb=c2b070214097fa40dc78252882d96babe7fab4b4 Thanks, Ben. -- Ben Pfaff http://benpfaff.org

Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
[AM_INIT_AUTOMAKE([foreign])]) This seems to me more in keeping with the Autoconf philosophy. -- Ben Pfaff http://benpfaff.org

Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
Ralf Wildenhues writes: > * Ben Pfaff wrote on Fri, Aug 14, 2009 at 06:33:14PM CEST: >> As an alternative, could Automake provide an API that allows >> users to say "if feature X is supported, then expand this >> configure.ac code"? For example: >>

Re: make clean is slow

2009-10-22 Thread Ben Pfaff
Bob Friesenhahn writes: > Usually I don't care much about 'make clean' times but when I am > chasing down compilation warnings I tend to do a lot of cleans. When I'm chasing down compilation warnings I usually turn on "-Werror" temporarily. Save

Re: Public header files

2010-03-03 Thread Ben Pfaff
g that some vendors have apparently not updated their C compilers in that long. -- Ben Pfaff http://benpfaff.org

order of variables and rules in output

2010-08-25 Thread Ben Pfaff
of it in the manual, but it is sometimes convenient. Thanks, Ben. -- Ben Pfaff http://benpfaff.org

Re: debbugs, and a FAQ, for Autotools

2011-02-23 Thread Ben Pfaff
The question "libtool reorders link fags" seems to have a spelling error in the last word. It's not obvious to me what word is meant. -- Ben Pfaff http://benpfaff.org

Re: FW: Keep variable un-expanded in configure script

2011-03-11 Thread Ben Pfaff
"Too, Justin A." writes: > However, Autoconf expands $#. How can I escape $#, so that it > will remain as-is in the configure script? I just can't figure > this one out :) $[#] or $[@%:@] will avoid expansion. (This is really an autoconf question.) -- Ben Pfaff http://benpfaff.org

Re: GSoC project idea: non-recursive automake project

2011-03-22 Thread Ben Pfaff
non-recursive subdirectories. -- Ben Pfaff http://benpfaff.org

Re: coexist multiple versions of automake

2002-03-06 Thread Ben Pfaff
Paul Lew <[EMAIL PROTECTED]> writes: > I would like to propose we modify automake (and autoconf) to > allow multiple versions of automake coexisting on a given > system. [...] You may want to have a look at my packaging of Autoconf 2.13 and Autoconf 2.52 for Debian, which includes an heuristic t

Re: coexist multiple versions of automake

2002-03-07 Thread Ben Pfaff
Paul Lew <[EMAIL PROTECTED]> writes: > >>>>> "Ben" == Ben Pfaff <[EMAIL PROTECTED]> writes: > > Ben> You may want to have a look at my packaging of Autoconf 2.13 > Ben> and Autoconf 2.52 for Debian, which includes an heuristic &