Re: unoconv listener in an automake file?

2011-08-14 Thread Ben Pfaff
) 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

Re: Modify $PATH for all subdirectories

2011-04-07 Thread Ben Pfaff
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
directive to include that in each of your Makefile.ams. 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: GSoC project idea: non-recursive automake project

2011-03-22 Thread Ben Pfaff
of recursive and non-recursive subdirectories. -- 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: Bug#565663: [PATCH] aclocal: Make missing 'dir' in -Idir a warning instead of a fatal error.

2010-03-06 Thread Ben Pfaff
Ben Pfaff b...@cs.stanford.edu writes: +2010-02-27 Ben Pfaff b...@cs.stanford.edu + + Make -Idir a warning instead of a fatal error if 'dir' does not + exist. + * aclocal.in (scan_m4_dirs): Demote fatal error to warning. + I was hoping for some feedback on this proposed patch

Re: Public header files

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

[PATCH] aclocal: Make missing 'dir' in -Idir a warning instead of a fatal error.

2010-02-28 Thread Ben Pfaff
..d0d8ccf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-02-27 Ben Pfaff b...@cs.stanford.edu + + Make -Idir a warning instead of a fatal error if 'dir' does not + exist. + * aclocal.in (scan_m4_dirs): Demote fatal error to warning. + 2010-02-24 Antonio Diaz Diaz ant_d

Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
])]) 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 ralf.wildenh...@gmx.de 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: AM_FEATURE_PREREQ([color-tests

Re: using color-tests backwards-portably

2009-08-14 Thread Ben Pfaff
])]) 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 ralf.wildenh...@gmx.de 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: AM_FEATURE_PREREQ([color-tests

EXTRA_DIST respects Automake conditionals?

2009-07-29 Thread Ben Pfaff
://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: [Patch] New target to generate cscope database

2009-05-07 Thread Ben Pfaff
Ralf Wildenhues ralf.wildenh...@gmx.de writes: Does cscope offer enough additional functionality over, say, Exuberant Ctags or gtags, to warrant being supported? Do many people use it? The most useful feature of cscope that is not in *tags (as far as I know) is that it maintains a list of

Re: noinst_TEXINFOS

2009-04-29 Thread Ben Pfaff
any replies. -- Ben Pfaff http://benpfaff.org

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: 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 file names

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

2008-09-17 Thread Ben Pfaff
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: Incorrect information in the manual about the tar-v7 option

2008-09-17 Thread Ben Pfaff
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: 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, and then

Re: preprocessor output target

2008-06-05 Thread Ben Pfaff
init.o init.i -- Ben Pfaff http://benpfaff.org

Re: -local vs. -hook?

2008-06-04 Thread Ben Pfaff
executed after the main rule's work is done. -- Ben Pfaff http://benpfaff.org

Re: Installing compressed info files

2008-05-27 Thread Ben Pfaff
any Info documents and manpages (and some other kinds of files) that are not already compressed. -- 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 conquests of

Re: It gits on my nerves

2007-11-24 Thread Ben Pfaff
describes this in the creating the perfect patch series chapter. This works just fine, of course. Recently, I discovered the fairly new command git rebase --interactive, which can sometimes be even easier. You might check it out, if you are not already aware of it. -- Ben Pfaff http

noinst_TEXINFOS does not build Info files

2007-11-11 Thread Ben Pfaff
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: Circular dependencies and test programs

2007-10-20 Thread Ben Pfaff
it says it needs libb but libb needs liba. So what do I do? Is there a way to tell configure don't build executables? If the test programs are listed on check_PROGRAMS, instead of on some other target, then they will be built only for make check, not for make all or make install. -- Ben Pfaff

Re: Maintainer checks for non-c89 constructs?

2007-06-09 Thread Ben Pfaff
(,)], [pspp_cv_name[]=yes], [pspp_cv_name[]=no]) CFLAGS=$pspp_save_CFLAGS]) if test $pspp_cv_name = yes; then CFLAGS=$CFLAGS $1 fi ]) PSPP_ENABLE_OPTION(-Wdeclaration-after-statement) -- Ben Pfaff [EMAIL PROTECTED]

Re: trying to find a good solution to filename clash

2007-02-16 Thread Ben Pfaff
. 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: 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 write

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 point out where the

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

Re: Target-specific CFLAGS

2004-02-24 Thread Ben Pfaff
? 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 for the C++ compiler, right? -- Ben Pfaff email: [EMAIL PROTECTED] web: http://benpfaff.org

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 know that CPPFLAGS is for the C preprocessor and CXXFLAGS

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: 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 Ben that automatically picks the right version of Autoconf to run

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 that