Re: What happened to test folder instspc.dir ? -- Please ignore, I have worked it out.

2018-01-26 Thread Kevin Youren
folder  instspc.dir? I've still got a copy from version 1.15, so I suffer no loss. If you have a document which refers to its removal, or a git commit message , I would appreciate it. kind regards, Kevin Youren

RE: How can I pass $@ to Makefile?

2015-05-28 Thread Arthur Schwarz
You are indeed wise. Thank you Eric Blake!

Re: How can I pass $@ to Makefile?

2015-05-28 Thread Eric Blake
sh' > test3.abc > + echo '#!/bin/bash' > echo "echo test3.abc $# ' [' $@ ']'>> test3.log" >> test3.abc This is what make passed to the shell... > + echo 'echo test3.abc 0 '\''

RE: How can I pass $@ to Makefile?

2015-05-28 Thread Arthur Schwarz
o '#!/bin/bash' echo "echo test3.abc $# ' [' $@ ']'>> test3.log" >> test3.abc + echo 'echo test3.abc 0 '\'' ['\'' '\'']'\''>> test3.log' echo "echo I am a test script&

Re: How can I pass $@ to Makefile?

2015-05-28 Thread Nick Bowler
On 2015-05-28 10:23 -0700, Arthur Schwarz wrote: > I'm have a little program in my makefile.am: > > test3.abc: > echo '#!/bin/bash' > test3.abc > echo "echo test3.abc $$# ' [' $$@ ']'>&g

How can I pass $@ to Makefile?

2015-05-28 Thread Arthur Schwarz
I’m have a little program in my makefile.am: test3.abc: echo '#!/bin/bash' > test3.abc echo "echo test3.abc $$# ' [' $$@ ']'>> test3.log" >> test3.abc echo "echo I am a test scrip

Can I make a convenience library from non-convenience libraries

2015-03-05 Thread Andy Falanga (afalanga)
for this library ... just the previous libraries. All of the examples I see in the automake documentation for making convenience libraries shows pretty much the same thing: e.g. noinst_LTLIBRARIES = convenience.la convenience_la_SOURCES = ... What I'm wondering about doing is something

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-16 Thread PenguinDude24
file by putting includes after rules; how do I fix this? (Jason Gross) -- Message: 1 Date: Mon, 16 Dec 2013 10:49:49 -0500 From: Jason Gross To: Gavin Smith Cc: Automake Mailing List Subject: Re: automake breaks my file

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-16 Thread Gavin Smith
On Mon, Dec 16, 2013 at 3:49 PM, Jason Gross wrote: > These compiled files get distributed/installed, so I think they belong in > DATA. > > The solution I ended up using was manually including an "all-am" target > below the definition, which overrides the one that automa

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-16 Thread Jason Gross
These compiled files get distributed/installed, so I think they belong in DATA. The solution I ended up using was manually including an "all-am" target below the definition, which overrides the one that automake generates. I think the other contributors to the project would com

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-12-02 Thread Gavin Smith
On Wed, Nov 20, 2013 at 9:33 PM, Jason Gross wrote: > I have a Makefile.am which includes another file in order to get a list of > files it should compile (I don't want to require running autoreconf and > configure whenever you add a file that the makefile already knows how to &g

Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-11-20 Thread Diego Elio Pettenò
On Wed, Nov 20, 2013 at 9:33 PM, Jason Gross wrote: > (I don't want to require running autoreconf and > configure whenever you add a file that the makefile already knows how to > compile). > You actually do not need autoreconf. Maintainer mode will take care of it for you

automake breaks my file by putting includes after rules; how do I fix this?

2013-11-20 Thread Jason Gross
I have a Makefile.am which includes another file in order to get a list of files it should compile (I don't want to require running autoreconf and configure whenever you add a file that the makefile already knows how to compile). But this does not work with automake's generated all

bug#13760: [PATCH 0/2] am__make_dryrun fails to handle GNU make -I option

2013-02-20 Thread Boris Kolpackov
Stefano Lattarini writes: > And of course, if you want to attempt a fix yourself in the meantime, > be my guest ;-) I was thinking of coming up with a fix. My problem is I can only do it for GNU make; I don't know anything (and, to be honest, don't care) about other flavors o

How do I make a .dylib library with non standard name

2012-07-01 Thread Erie Guy
I’m working on a project where I would like to use Automake to build a library for mac osx that will be dlopened by existing programs expecting a non-standard name. I’ve been able to get a library generated with the .dylib extension using a name in a standard format When I change the name to a

bug#10889: Some output of a recent build of automake-1.10 - it requested I send it to you!

2012-02-26 Thread Lou Picciano
Some output of a recent build of automake-1.10 - it requested I send it to you! Build is on OpenIndiana 151a2 (illumos/née OpenSolaris) Regards, Lou Picciano make[3]: `aclocal-1.10' is up to date. make[3]: `automake-1.10' is up to date. make[3]: Leaving directory `/export/home/drl

How do I make data depend on something?

2011-07-23 Thread Paul Elliott
phprg.doc > > swisseph_html_SOURCES = swisseph.doc > > swephprg_pdf_SOURCES = swephprg.doc > > swisseph_pdf_SOURCES = swisseph.doc I define rules to create pdf from doc files and define dependancies with the _SOURCES lines. But this gives the following errors: > doc/Makefile.am:25: v

Re: Where can I get 1.10a?

2010-01-11 Thread Ralf Wildenhues
Hello Bernd, * Bernd Jendrissek wrote on Mon, Jan 11, 2010 at 03:59:43PM CET: > I have been trying to update to more recent autotools, and being a > traceability nazi, I want to rebuild from as far upstream as possible. > That means ignoring the distributed ./configure and Makefi

Where can I get 1.10a?

2010-01-11 Thread Bernd Jendrissek
I have been trying to update to more recent autotools, and being a traceability nazi, I want to rebuild from as far upstream as possible. That means ignoring the distributed ./configure and Makefile.in and rebuilding them with currently installed autotools. Here's my problem: Recent aut

Re: I need a hint to integrate a php-extension build into an existing automake

2009-10-01 Thread Russ Allbery
Andreas Otto writes: > I want to add a "php" extension into an allready existing project creating > various extensions to other languages as well Yeah, this is always weird. I keep meaning to write up what I'm currently doing in my projects for review. > 1. wh

I need a hint to integrate a php-extension build into an existing automake

2009-10-01 Thread Andreas Otto
Hi, I want to add a "php" extension into an allready existing project creating various extensions to other languages as well I use automake/autoconf for build top-level project. My new "php" extension has the name "phpmsgque" build in the subdirectory of

Re: -I. in DEFAULT_INCLUDES

2009-07-06 Thread Bob Ham
On Mon, 2009-07-06 at 19:46 +0200, Ralf Wildenhues wrote: > * Bob Ham wrote on Mon, Jul 06, 2009 at 01:24:06PM CEST: > > DEFAULT_INCLUDES = -...@am__isrc@ -I$(top_builddir) > > > > > > Why does this -I. exist? How can I remove it? > > See > info Autom

Re: -I. in DEFAULT_INCLUDES

2009-07-06 Thread Bob Ham
On Mon, 2009-07-06 at 09:34 -0600, John Calcote wrote: > Just curious - under what conditions do you have a header file in the > local directory that you need to have overridden by a globally installed > header file? I have a file named string.h in a subdirectory. It's part of

Re: -I. in DEFAULT_INCLUDES

2009-07-06 Thread Ralf Wildenhues
Hello Bob, * Bob Ham wrote on Mon, Jul 06, 2009 at 01:24:06PM CEST: > I have a problem due to conflicts between local and system header > filenames. This problem comes about because of the addition of -I. to > the CXXFLAGS of any objects. I've traced this to a variable called >

Re: -I. in DEFAULT_INCLUDES

2009-07-06 Thread Peter O'Gorman
Bob Ham wrote: > Hi there, > > I have a problem due to conflicts between local and system header > filenames. This problem comes about because of the addition of -I. to > the CXXFLAGS of any objects. I've traced this to a variable called > DEFAULT_INCLUD

Re: -I. in DEFAULT_INCLUDES

2009-07-06 Thread John Calcote
Hi Bob, On 7/6/2009 5:24 AM, Bob Ham wrote: Hi there, I have a problem due to conflicts between local and system header filenames. This problem comes about because of the addition of -I. to the CXXFLAGS of any objects. I've traced this to a variable called DEFAULT_INCLUDES in

-I. in DEFAULT_INCLUDES

2009-07-06 Thread Bob Ham
Hi there, I have a problem due to conflicts between local and system header filenames. This problem comes about because of the addition of -I. to the CXXFLAGS of any objects. I've traced this to a variable called DEFAULT_INCLUDES in every Makefile.in: DEFAULT_INCLUDES = -...@am__isr

Re: How do I avoid this infinite loop?

2008-11-06 Thread Jules Colding
to BSDs and several other systems on the way? Erm, if those TAO libs are not yours, then you should go and suggest this to their author, I guess. They do not use libtool to build these libraries. They are using a build system called MPC (Makefile Project Creator) and there is no way I could co

Re: How do I avoid this infinite loop?

2008-11-06 Thread Ralf Wildenhues
>> linux, >> and gain portability to BSDs and several other systems on the way? >> >> Erm, if those TAO libs are not yours, then you should go and suggest >> this to their author, I guess. > > They do not use libtool to build these libraries. They are using

Re: How do I avoid this infinite loop?

2008-11-05 Thread Jules Colding
Hi Ralf, On 04/11/2008, at 22.39, Ralf Wildenhues wrote: * Jules Colding wrote on Tue, Nov 04, 2008 at 08:46:54AM CET: I have a little project in where I use a third party project. My "Makefile.am" has a rule to update and build the third party project but this rule enters an unc

Re: How do I avoid this infinite loop?

2008-11-04 Thread Ralf Wildenhues
Hello Jules, * Jules Colding wrote on Tue, Nov 04, 2008 at 08:46:54AM CET: > > I have a little project in where I use a third party project. My > "Makefile.am" has a rule to update and build the third party project but > this rule enters an unconditional infinite loop.

How do I avoid this infinite loop?

2008-11-03 Thread Jules Colding
Hi, I have a little project in where I use a third party project. My "Makefile.am" has a rule to update and build the third party project but this rule enters an unconditional infinite loop. Right now I'm getting the source for the external project from svn. I would like m

Re: passing autoreconf -I to aclocal -I

2008-10-24 Thread Clinton Roy
is patch makes sense to apply, or better reasoning than I > can offer why it is not correct. fair enough. cheers, -- Clinton Roy CSIRO - Robotics Platform Engineer Autonomous Systems Lab humbug.org.au - Brisbane Unix Group azure.humbug.org.au/~croy/blog - Blog flickr.com/photos/croy/ - Photo

Re: passing autoreconf -I to aclocal -I

2008-10-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding automake list] According to Clinton Roy on 10/22/2008 5:45 PM: Hello, Clinton, > This patch makes autoreconf pass along -I arguments to aclocal, which > is useful in cases > where m4 files are installed in sensible, but non standa

Re: Why I can not overwrite CXXFLAGS values?

2008-06-14 Thread Ralf Wildenhues
Set AM_ and xxx_ both? Manual said, only one of them will be used. Yes, that is right. For the sources of xxx, xxx_CXXFLAGS will be used. For all sources in this Makefile.am which do not have per-target flags, AM_CXXFLAGS will be used. I figured you might have other sources in

Re: Why I can not overwrite CXXFLAGS values?

2008-06-07 Thread Steven Woody
On Sat, Jun 7, 2008 at 3:38 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Steven, > > * Steven Woody wrote on Fri, Jun 06, 2008 at 08:54:59PM CEST: >> In my system, the default CXXFLAGS is '-g -O2'. But, for a particular >> program, I need -O0 an

Re: Why I can not overwrite CXXFLAGS values?

2008-06-07 Thread Ralf Wildenhues
Hello Steven, * Steven Woody wrote on Fri, Jun 06, 2008 at 08:54:59PM CEST: > In my system, the default CXXFLAGS is '-g -O2'. But, for a particular > program, I need -O0 and without -g. I tried something like: > bin_PROGRAS = xxx > xxx_CXXFLAGS = -O0 > in Mak

Re: How can I change shared library's version number?

2008-06-06 Thread Andreas Schwab
"Steven Woody" <[EMAIL PROTECTED]> writes: > When I use autoconf/automake with its integrated libtool to build a > shared library, I got shared libraray named 'libfoo.so.0.0.0'. I > don't sure where the 0.0.0 comes from, and I don't like it. How

How can I change shared library's version number?

2008-06-06 Thread Steven Woody
When I use autoconf/automake with its integrated libtool to build a shared library, I got shared libraray named 'libfoo.so.0.0.0'. I don't sure where the 0.0.0 comes from, and I don't like it. How can I change it? I searched info page but found no answer. Thanks in advance. - narke

Why I can not overwrite CXXFLAGS values?

2008-06-06 Thread Steven Woody
In my system, the default CXXFLAGS is '-g -O2'. But, for a particular program, I need -O0 and without -g. I tried something like: bin_PROGRAS = xxx xxx_CXXFLAGS = -O0 in Makefile.am. But, the final CXXFLAGS used when I compile is actually -O0 -g -O2, the default CXXFLAGS appe

Re: How do I configure Makefile.am to run a program?

2008-04-02 Thread David Fang
ns an exact copy of your existing poll.spec, but add the autoconf substitution variable, @svnrev@ where it make sense. In a Makefile.am in the directory containing your poll.spec file, add EXTRA_DIST = ... poll.spec I use this trick all the time and it works great! In fact, I generate most of m

Re: How do I configure Makefile.am to run a program?

2008-03-25 Thread Jim Lynch
On Tue, Mar 25, 2008 at 10:30 AM, Bernd Jendrissek < [EMAIL PROTECTED]> wrote: > On Sun, Mar 23, 2008 at 7:27 AM, John Calcote <[EMAIL PROTECTED]> > wrote: > > > Thanks, but the problem with this solution is that I would have to > > > rerun the .configure st

Re: How do I configure Makefile.am to run a program?

2008-03-25 Thread Bernd Jendrissek
On Sun, Mar 23, 2008 at 7:27 AM, John Calcote <[EMAIL PROTECTED]> wrote: > > Thanks, but the problem with this solution is that I would have to > > rerun the .configure step each time. Forgetting to do that is as as > > easy as forgetting to edit the spec file. How

Re: [Fwd: How do I get make to run a program during the make operation?]

2008-03-25 Thread Bernd Jendrissek
On Fri, Mar 21, 2008 at 4:08 PM, Jim <[EMAIL PROTECTED]> wrote: > noinst_PROGRAMS = poll.spec > poll_tmpl_SOURCES = poll.tmpl FORCE > .tmpl.spec: > ./logpoll.pl $< > > FORCE: [snip] > Can anyone suggest how I might accomplish what I thought was going to

Re: How do I configure Makefile.am to run a program?

2008-03-22 Thread John Calcote
Jim, Thanks, but the problem with this solution is that I would have to rerun the .configure step each time. Forgetting to do that is as as easy as forgetting to edit the spec file. Don't take this wrong - I totally believe you. But, I'm trying to figure out why this has never been

Re: How do I configure Makefile.am to run a program?

2008-03-22 Thread Harlan Stenn
You typo'd. I wrote BUILT_SOURCES= ... Check out the docs. H -- > On Fri, Mar 21, 2008 at 3:57 PM, Harlan Stenn <[EMAIL PROTECTED]> wrote: > > > > I like to include my subversion version number in my rpm spec file so I > > can > > > keep track of the

Re: How do I configure Makefile.am to run a program?

2008-03-22 Thread Jim Lynch
On Fri, Mar 21, 2008 at 3:57 PM, Harlan Stenn <[EMAIL PROTECTED]> wrote: > > I like to include my subversion version number in my rpm spec file so I > can > > keep track of the source used to generate the binary. I've been > manually > > changing it but since

Re: How do I configure Makefile.am to run a program?

2008-03-22 Thread Jim Lynch
e. > > In a Makefile.am in the directory containing your poll.spec file, add > > EXTRA_DIST = ... poll.spec > > I use this trick all the time and it works great! In fact, I generate most > of my rpm and debian build scripts this way. > > Regards, > John > > Hi Jo

Re: How do I configure Makefile.am to run a program?

2008-03-21 Thread Harlan Stenn
You may also want: noinst_DATA = poll.spec H > > I like to include my subversion version number in my rpm spec file so I can > > keep track of the source used to generate the binary. I've been manually > > changing it but since I forget to sometimes, I'd like for m

Re: How do I configure Makefile.am to run a program?

2008-03-21 Thread Harlan Stenn
> I like to include my subversion version number in my rpm spec file so I can > keep track of the source used to generate the binary. I've been manually > changing it but since I forget to sometimes, I'd like for make to generate > the spec file for me. I wrote a small per

Re: How do I configure Makefile.am to run a program?

2008-03-21 Thread John Calcote
Jim, I like to include my subversion version number in my rpm spec file so I can keep track of the source used to generate the binary. I've been manually changing it but since I forget to sometimes, I'd like for make to generate the spec file for me. I wrote a small perl program th

How do I configure Makefile.am to run a program?

2008-03-21 Thread Jim Lynch
I like to include my subversion version number in my rpm spec file so I can keep track of the source used to generate the binary. I've been manually changing it but since I forget to sometimes, I'd like for make to generate the spec file for me. I wrote a small perl program that reads

[Fwd: How do I get make to run a program during the make operation?]

2008-03-21 Thread Jim
I thought I sent this message but I never saw it show up. If it's a dup, please excuse me. Jim. --- Begin Message --- I like to include my subversion version number in my rpm spec file so I can keep track of the source used to generate the binary. I've been manually changing it b

Re: Include paths: no "-I." please

2007-11-08 Thread Ralf Wildenhues
Hello, * J.T. Conklin wrote on Fri, Nov 09, 2007 at 05:48:04AM CET: > overbored <[EMAIL PROTECTED]> writes: > > How do I tell automake not to pass "-I." to g++/gcc? Thanks in advance. Use the nostdinc option: <http://sources.redhat.com/automake/automake.html#Options

Re: Include paths: no "-I." please

2007-11-08 Thread J.T. Conklin
overbored <[EMAIL PROTECTED]> writes: > How do I tell automake not to pass "-I." to g++/gcc? Thanks in advance. > > (The problem is that this project has a string.h, which conflicts with > the standard string.h. Besides, why "-I." in the first place? Is it

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Russ Allbery wrote: Thomas Dickey <[EMAIL PROTECTED]> writes: It's possible to make your install-target depend on the file that you want to install, but doing that for several files can be tedious. I do this in regular makefiles, for instance $(INST

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Ralf Wildenhues
Hello, * Benoit SIGOURE wrote on Fri, Jul 06, 2007 at 10:46:47PM CEST: > http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00070.html See this one as well: Cheers, Ralf

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Russ Allbery
Thomas Dickey <[EMAIL PROTECTED]> writes: > It's possible to make your install-target depend on the file that you > want to install, but doing that for several files can be tedious. I do > this in regular makefiles, for instance > $(INSTALLDIR)/foo: $(SRCDIR)/foo >

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Benoit SIGOURE
On Jul 6, 2007, at 8:20 PM, Jeff Safier wrote: Make install seems to copy the target whether its been rebuilt or not and every time the file is copied it puts a new timestamp on the file. You might want to have a look at these two threads: ``install -C'' / unnecessarily updating time stamps h

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Thomas Dickey
le to make your install-target depend on the file that you want to install, but doing that for several files can be tedious. I do this in regular makefiles, for instance $(INSTALLDIR)/foo: $(SRCDIR)/foo $(INSTALL) $(SRCDIR)/foo $(INSTALLDIR)/foo ...but don't expect to see autom

How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Jeff Safier
Make install seems to copy the target whether its been rebuilt or not and every time the file is copied it puts a new timestamp on the file. Jeff Safier Cornell-Mayo Associates 600 Lanidex Plaza Parsipanny, NJ 07054 Phone: (973) 887 3069 X119 Fax: (973) 887-0383 Information contained in this

Re: How do I get automake to create compressed man pages?

2007-04-18 Thread Daniel Leidert
Am Mittwoch, den 18.04.2007, 00:46 -0500 schrieb Paul Elliott: > Excuse me if this is a faq but I can not easily find the asnwer. > > I have a Makefile.am that creates and installs a man page myprog.1 > > It says > > man1_MANS = myprog.1 > > The source is myprog.1.

How do I get automake to create compressed man pages?

2007-04-17 Thread Paul Elliott
Excuse me if this is a faq but I can not easily find the asnwer. I have a Makefile.am that creates and installs a man page myprog.1 It says man1_MANS = myprog.1 The source is myprog.1. How do I make it create and install a compressed man page version myprog.1.gz? Thank You. -- Paul

Re: Some problems I had with texi/info files

2007-02-17 Thread BeN [F1233 121D3R]
Thank you Ralf for quick answer. It helps a lot. Truth to tell I did not read all GNU guide line since it's quiet a huge reading. You guess right: I was indeed using AM_MAINTAINER_MODE in the original project and I had just copy/cut it when I did the test project... my mistake. Everything

Re: Some problems I had with texi/info files

2007-02-17 Thread Ralf Wildenhues
oject/project.texi:7: @include `version.texi': No such file or > directory. This problem will be fixed once you fix the first problem. > makeinfo -I ../project -o ../project/project.info ../project/project.texi > [...] > > Here I was expecting to have something like that:

Some problems I had with texi/info files

2007-02-16 Thread BeN [F1233 121D312]
Hello all. The following example explains the problems I had. gentoo/gnu/linux kernel-2.6.20 i686 automake (GNU automake) 1.10 autoconf (GNU Autoconf) 2.61 The tree looks like +--project--+-- Makefile.am | +-- configure.ac | +-- project.texi | +--build >cat Makefile

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-30 Thread Jim
Bob Proulx wrote: Jim Lynch wrote: I'd really like a way to enable this for specific applications, not as a site default. ... ... ... If not, I'll just have to go back to my cludgy way of adding my own rules to copy it to a hard coded /etc, (Ugh). What I do is to keep a co

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-30 Thread Jim
Ralf Wildenhues wrote: Hello Jim, Please don't top-post, if possible. Thank you. * Jim Lynch wrote on Wed, Jan 24, 2007 at 11:17:47PM CET: Ralf Wildenhues wrote: > * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET: >> [...] if I do a ./configure >> --sysconfdir=/e

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-27 Thread Bob Proulx
Jim Lynch wrote: > I'd really like a way to enable this for specific applications, not > as a site default. ... ... ... If not, I'll just have to go back to > my cludgy way of adding my own rules to copy it to a hard coded > /etc, (Ugh). What I do is to keep a configure.s

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-25 Thread Ralf Wildenhues
Hello Jim, Please don't top-post, if possible. Thank you. * Jim Lynch wrote on Wed, Jan 24, 2007 at 11:17:47PM CET: Ralf Wildenhues wrote: > * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET: >> [...] if I do a ./configure >> --sysconfdir=/etc I get what I want.

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Jim Lynch
ldenhues wrote: > Hello Jim, > > This is actually an Autoconf question. I don't think that's easy to > infer, though. > > * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET: > >> [...] if I do a ./configure >> --sysconfdir=/etc I get what I want.

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Ralf Wildenhues
Hello Jim, This is actually an Autoconf question. I don't think that's easy to infer, though. * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET: > [...] if I do a ./configure > --sysconfdir=/etc I get what I want. However as I advance in age, I > forget mor

How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Jim Lynch
I have an application where most of what I need installed goes to /usr/local/*, except I really want to put stuff in /etc. By default sysconfdir gets set to /usr/local/etc but if I do a ./configure --sysconfdir=/etc I get what I want. However as I advance in age, I forget more than I used to so

Re: How do I get configuration files installed?

2007-01-10 Thread Ralf Wildenhues
I noted this message still lying around in my autotools folder... * Jim Lynch wrote on Fri, Dec 22, 2006 at 08:43:17AM CET: > Ralf Wildenhues wrote: > > * Jim Lynch wrote on Fri, Oct 27, 2006 at 02:46:04PM CEST: > > > >> I'm trying to figure out how to

Re: How do I *conditionally* add to INSTALL_DIRS ?

2007-01-10 Thread Stepan Kasal
Hello, On Wed, Jan 10, 2007 at 08:19:38AM +0900, atoz wrote: > if WANT_MAN_PAGES > cp fooman.8 $(foomandir) > fi ... > and it leads to the following error ... > > Makefile.am:175: unterminated conditionals: WANT_MAN_PAGES_TRUE this question is easy: Automake conditionals are ended by "en

Re: How do I *conditionally* add to INSTALL_DIRS ?

2007-01-09 Thread atoz
Ralf Wildenhues wrote: OK, but you insist on the targets `man-pages' and `readme', you can just put the whole block inside an if: if MAN_PAGES man-pages: # do your stuff else man-pages: # do nothing fi my vars are called WANT_MAN_PAGES, WANT_README etc, but other than tha

Re: How do I *conditionally* add to INSTALL_DIRS ?

2007-01-09 Thread Ralf Wildenhues
what magic does automake do with the variable INSTALL_DIRS? EXTRA_DIST can just be added to as well, not much magic either. fooman_MANS and foodoc_DATA come to mind as special variables, if you are ok with having things installed by 'make install-data' or plain 'make instal

Re: How do I *conditionally* add to INSTALL_DIRS ?

2007-01-09 Thread atoz
\ fi you can do this for example: # configure.ac snippet: AM_CONDITIONAL([MAN_PAGES], [test -n "$with_man_pages"]) AM_CONDITIONAL([FOO_DOCS], [test -n "$with_readme$with_license$with_credits$with_sgml_docs"]) I already have the above in my configure.ac file # Makefile.am s

Re: How do I *conditionally* add to INSTALL_DIRS ?

2007-01-09 Thread Ralf Wildenhues
Hello atoz, * atoz wrote on Tue, Jan 09, 2007 at 12:03:54PM CET: > I have added some install options to configure, for example ... > > --with-man-pages > --with-readme > > and some others If you go by the GNU Coding Standards, you should use --enable for these, as

How do I *conditionally* add to INSTALL_DIRS ?

2007-01-09 Thread atoz
I have added some install options to configure, for example ... --with-man-pages --with-readme and some others I then tried to get automake to add the relevant instructions via automake.am INSTALL_DIRS, like so ... # man pages if test -n "${with_man_pages}"; then \ IN

Re: How do I get configuration files installed?

2006-12-21 Thread Jim Lynch
n!) > > Wouldn't it be enough if you used $(libdir), and told your users > that if they want to shoot themselves mildly in the foot, they could > still use > ./configure --bindir=/some/where/bin --libdir=/some/where/bin/lib > ? > > I mean, this convention goes against

Re: I can do it in Makefile.in but not sure how to translate it to Makefile.am

2006-11-16 Thread J.H.
Actually from my last e-mail it got me thinking concerning the outside program doing something to the make file - I found it and I seem to have fixed the problem. There's a perl script that gets run just after automake is finished that generated the line I was worried about. I've

Re: I can do it in Makefile.in but not sure how to translate it to Makefile.am

2006-11-16 Thread J.H.
gets rebuilt from Makefile.am this gets hosed. I don't understand the question. If you add that code to Makefile.am, it will be copied to Makefile.in exactly by automake. What gets hosed? Maybe there's merely a typo (note only one of the rule lines starts with a TAB)? The problem stem

Re: I can do it in Makefile.in but not sure how to translate it to Makefile.am

2006-11-16 Thread Ralf Wildenhues
efile.in gets rebuilt > from Makefile.am this gets hosed. I don't understand the question. If you add that code to Makefile.am, it will be copied to Makefile.in exactly by automake. What gets hosed? Maybe there's merely a typo (note only one of the rule lines starts with a TAB)? Cheers, Ralf

I can do it in Makefile.in but not sure how to translate it to Makefile.am

2006-11-15 Thread J.H.
Evening, I'm a bit confused on how to accomplish what I need to do, I have a Makefile.in that I need to adjust a single target: kcookieserver_skel.cpp: kcookieserver.kidl $(DCOPIDL2CPP) --c++-suffix cpp --no-signals --no-stub kcookieserver.kidl basically when this target

Re: How do I get configuration files installed?

2006-10-27 Thread Ralf Wildenhues
hat if they want to shoot themselves mildly in the foot, they could still use ./configure --bindir=/some/where/bin --libdir=/some/where/bin/lib ? I mean, this convention goes against all I've ever seen on a *nix system. If instead you are out to get things working on w32 systems, then

Re: How do I get configuration files installed?

2006-10-27 Thread Andreas Schwab
Jim Lynch <[EMAIL PROTECTED]> writes: > I'm trying to figure out how to add a file to be installed in > $prefix/bin/lib. Are you sure you want that and not $libdir or even $datadir? > But when I put > bin_SCRIPTS=bin/float.pl bin/work.pl bin/lib/cipher.txt > in there

How do I get configuration files installed?

2006-10-27 Thread Jim Lynch
I'm trying to figure out how to add a file to be installed in $prefix/bin/lib. I'm able to add files to bin by putting bin_SCRIPTS=bin/float.pl bin/work.pl in my Makefile.AM But when I put bin_SCRIPTS=bin/float.pl bin/work.pl bin/lib/cipher.txt in there, it simply puts ciper.txt i

Re: autoreconf not passing -I option to aclocal

2006-10-02 Thread Stepan Kasal
Hello, [let's move to the automake list; please keep Guillaume in the cc] On Mon, Oct 02, 2006 at 11:39:45AM +0200, Guillaume Rousse wrote: > Moreover, it requires me to specify a path to a file external to my > package, which I don't want to do. well, this is the root of t

Re: How do I make a "-config" script?

2006-05-27 Thread Tyler MacDonald
where > >this should be standardized? > Tyler, > > It's pretty trivial to make one of the *-config scripts by hand, or > even "automate" their generation by making them an autoconf template > (presuming someone doesn't use DESTDIR or relocate after the fac

Re: How do I make a "-config" script?

2006-05-27 Thread Christopher Sean Morrison
Ralf Corsepius <[EMAIL PROTECTED]> wrote: scripts that give you information like includes, libraries, etc... is there some autoconf/automake/other magic i can use to automatically generate one of these for my distribution? Nope. Such *-config scripts are ordinary, manually w

Re: How do I make a "-config" script?

2006-05-26 Thread Tyler MacDonald
Ralf Corsepius <[EMAIL PROTECTED]> wrote: > > scripts that give you information like includes, libraries, etc... is there > > some autoconf/automake/other magic i can use to automatically generate one > > of these for my distribution? > Nope. Such *-config scripts are

Re: How do I make a "-config" script?

2006-05-26 Thread Ralf Corsepius
On Fri, 2006-05-26 at 13:49 -0700, Tyler MacDonald wrote: > A lot of packages (libxml2, APR, gnome, etc) come with these "-config" > scripts that give you information like includes, libraries, etc... is there > some autoconf/automake/other magic i can use to automatically gene

How do I make a "-config" script?

2006-05-26 Thread Tyler MacDonald
A lot of packages (libxml2, APR, gnome, etc) come with these "-config" scripts that give you information like includes, libraries, etc... is there some autoconf/automake/other magic i can use to automatically generate one of these for my distribution? Thanks, Tyler

Re: question about DEFAULT_INCLUDES and -I.

2006-04-26 Thread Harald Dunkel
Hi Ralf, Ralf Wildenhues wrote: > Hi Harald, > > * Harald Dunkel wrote on Wed, Apr 26, 2006 at 10:44:55AM CEST: >> it seems that DEFAULT_INCLUDES is set deeply within >> automake.pl to >> >> DEFAULT_INCLUDES = -I. -I$(srcdir) > > Only if not using th

Re: question about DEFAULT_INCLUDES and -I.

2006-04-26 Thread Ralf Wildenhues
Hi Harald, * Harald Dunkel wrote on Wed, Apr 26, 2006 at 10:44:55AM CEST: > > it seems that DEFAULT_INCLUDES is set deeply within > automake.pl to > > DEFAULT_INCLUDES = -I. -I$(srcdir) Only if not using the Automake option `nostdinc'. > What is the reasoning he

question about DEFAULT_INCLUDES and -I.

2006-04-26 Thread Harald Dunkel
Hi folks, it seems that DEFAULT_INCLUDES is set deeply within automake.pl to DEFAULT_INCLUDES = -I. -I$(srcdir) What is the reasoning here? Doesn't this undermine the difference between #include "myheader.h" and #include ? Regards Harri

Re: [Fwd: autoreconf and aclocal options (-I, --ac-dir)]

2006-04-03 Thread Stepan Kasal
Hello, On Mon, Apr 03, 2006 at 11:00:23AM -0400, Chris Pickett wrote: > It could also be nice if autoreconf passed the -I flag to aclocal. I > don't think it would matter if dirs not containing macros were in the > list. Just an idea. well, I'm not sure. autoconf -I mi

Re: where do I have to add the macros

2005-12-14 Thread Ralf Wildenhues
* netman (sent by Nabble.com) wrote on Tue, Dec 13, 2005 at 07:51:34PM CET: > > I have a software in two versions I wanted to add a test plugin into > one of them I put my test file in the plugin folder and then modified > the makefle.am. but I have not the file configure.ac Well,

where do I have to add the macros

2005-12-13 Thread netman (sent by Nabble.com)
Hi I have a software in two versions I wanted to add a test plugin into one of them I put my test file in the plugin folder and then modified the makefle.am. but I have not the file configure.ac while I have read in dics that it is needed for autoconf well I saw these errors : libtoolize

  1   2   3   >