) 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
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
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
of recursive and non-recursive
subdirectories.
--
Ben Pfaff
http://benpfaff.org
of it in the manual, but
it is sometimes convenient.
Thanks,
Ben.
--
Ben Pfaff
http://benpfaff.org
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
that some vendors have apparently not updated their C compilers
in that long.
--
Ben Pfaff
http://benpfaff.org
..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
])])
This seems to me more in keeping with the Autoconf philosophy.
--
Ben Pfaff
http://benpfaff.org
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
])])
This seems to me more in keeping with the Autoconf philosophy.
--
Ben Pfaff
http://benpfaff.org
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
://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=Makefile.am;h=dccb8cfdf92a3dd4dc9f3276e7533f68769587f8;hb=c2b070214097fa40dc78252882d96babe7fab4b4
Thanks,
Ben.
--
Ben Pfaff
http://benpfaff.org
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
any replies.
--
Ben Pfaff
http://benpfaff.org
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
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
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
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
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
init.o init.i
--
Ben Pfaff
http://benpfaff.org
executed
after the main rule's work is done.
--
Ben Pfaff
http://benpfaff.org
any Info documents and
manpages (and some other kinds of files) that are not already
compressed.
--
Ben Pfaff
http://benpfaff.org
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
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
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
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
(,)], [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]
. 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
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
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
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
?
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
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
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.
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
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
37 matches
Mail list logo