[Automake-NG] Specify target in Makefile.am file

2013-06-12 Thread Avneet Kaur
We use SUBDIRS to specify the sub directories in Makefile.am file like SUBDIRS = src doc examples bindings Run make will compile the makefile under these directories by default. But I want to remove doc from default option like it will run by make doc target only. Which variable or step works

Re: [Automake-NG] Specify target in Makefile.am file

2013-06-12 Thread Avneet Kaur
On Wed, Jun 12, 2013 at 10:30 PM, Avneet Kaur kauravneet...@gmail.com wrote: But I want to remove doc from default option like it will run by make doc target only. Which variable or step works For this, DIST_SUBDIRS is a right solution? -- Avneet Kaur www.avneetkhasla.wordpress.com

bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Stefano Lattarini
tags 14560 - moreinfo tags 14560 + patch severity 14560 minor stop [+cc automake-patches, -cc automake] On 06/11/2013 01:29 PM, Ralf Corsepius wrote: On 06/05/2013 12:03 PM, Stefano Lattarini wrote: [+cc bug-automake, so this will be registered in the bug tracker] On 06/05/2013 07:16 AM,

bug#14560: [PATCH 0/2] Fix automake bug#14560

2013-06-12 Thread Stefano Lattarini
Will push this to 'micro' by tomorrow if there is no objection. On-field testing would be appreciated. Stefano Lattarini (2): tests: expose automake bug#14560 lang, suffix rules: don't require C stuff needlessly NEWS | 11 ++ automake.in

bug#14560: [PATCH 2/2] lang, suffix rules: don't require C stuff needlessly

2013-06-12 Thread Stefano Lattarini
This change fixes automake bug#14560: when two or more user-defined suffix rules were present in a single Makefile.am, automake would needlessly include definition of some make variables related to C compilation in the generated Makefile.in. * automake.in (handle_languages): Fix logic to decide

bug#14560: [PATCH 1/2] tests: expose automake bug#14560

2013-06-12 Thread Stefano Lattarini
Automake needlessly generates definition of make variables related to C compilation when two or more user-defined suffix rules are present in a single Makefile.am. * t/suffix-extra-c-stuff-pr14560.sh: New test, exposing the bug. This test is still xfailing. * t/no-extra-c-stuff.sh: New test,

bug#14594: depcomp missing from Makefile.in in AM 1.13.3

2013-06-12 Thread Stefano Lattarini
tags 14594 notabug close 1459 stop Hi Jeff. Thanks for the report, but I don't think there is a real bug here. On 06/12/2013 01:42 AM, Jeff Squyres (jsquyres) wrote: Attached is a trivial reproducer showing that Automake is not including depcomp in the generated Makefile.in, which therefore

bug#14594: depcomp missing from Makefile.in in AM 1.13.3

2013-06-12 Thread Jeff Squyres (jsquyres)
On Jun 12, 2013, at 9:18 AM, Stefano Lattarini stefano.lattar...@gmail.com wrote: Hi Jeff. Thanks for the report, but I don't think there is a real bug here. Short version: yes, you're right; with your suggestion, I did more testing (via make distcheck rather than checking for depmod in the

bug#14594: depcomp missing from Makefile.in in AM 1.13.3

2013-06-12 Thread Stefano Lattarini
On 06/12/2013 06:47 PM, Jeff Squyres (jsquyres) wrote: On Jun 12, 2013, at 9:18 AM, Stefano Lattarini stefano.lattar...@gmail.com wrote: Hi Jeff. Thanks for the report, but I don't think there is a real bug here. Short version: yes, you're right; with your suggestion, I did more

bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Stefano Lattarini
On 06/12/2013 04:14 PM, Ralf Corsepius wrote: On 06/12/2013 12:25 PM, Stefano Lattarini wrote: Thanks, this is exactly what I needed, and your diagnosis seems spot-on. I will soon post a couple of patches that should first expose and then fix the issue. I gave your patches some life-testing

Re: bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Stefano Lattarini
tags 14560 - moreinfo tags 14560 + patch severity 14560 minor stop [+cc automake-patches, -cc automake] On 06/11/2013 01:29 PM, Ralf Corsepius wrote: On 06/05/2013 12:03 PM, Stefano Lattarini wrote: [+cc bug-automake, so this will be registered in the bug tracker] On 06/05/2013 07:16 AM,

[PATCH 1/2] tests: expose automake bug#14560

2013-06-12 Thread Stefano Lattarini
Automake needlessly generates definition of make variables related to C compilation when two or more user-defined suffix rules are present in a single Makefile.am. * t/suffix-extra-c-stuff-pr14560.sh: New test, exposing the bug. This test is still xfailing. * t/no-extra-c-stuff.sh: New test,

[PATCH 0/2] Fix automake bug#14560

2013-06-12 Thread Stefano Lattarini
Will push this to 'micro' by tomorrow if there is no objection. On-field testing would be appreciated. Stefano Lattarini (2): tests: expose automake bug#14560 lang, suffix rules: don't require C stuff needlessly NEWS | 11 ++ automake.in

[PATCH 2/2] lang, suffix rules: don't require C stuff needlessly

2013-06-12 Thread Stefano Lattarini
This change fixes automake bug#14560: when two or more user-defined suffix rules were present in a single Makefile.am, automake would needlessly include definition of some make variables related to C compilation in the generated Makefile.in. * automake.in (handle_languages): Fix logic to decide

Re: bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Stefano Lattarini
On 06/12/2013 04:14 PM, Ralf Corsepius wrote: On 06/12/2013 12:25 PM, Stefano Lattarini wrote: Thanks, this is exactly what I needed, and your diagnosis seems spot-on. I will soon post a couple of patches that should first expose and then fix the issue. I gave your patches some life-testing

Re: bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Stefano Lattarini
tags 14560 - moreinfo tags 14560 + patch severity 14560 minor stop [+cc automake-patches, -cc automake] On 06/11/2013 01:29 PM, Ralf Corsepius wrote: On 06/05/2013 12:03 PM, Stefano Lattarini wrote: [+cc bug-automake, so this will be registered in the bug tracker] On 06/05/2013 07:16 AM,

Re: bug#14560: C Compilation variables present in output Makefiles unconditionally

2013-06-12 Thread Ralf Corsepius
On 06/12/2013 12:25 PM, Stefano Lattarini wrote: Thanks, this is exactly what I needed, and your diagnosis seems spot-on. I will soon post a couple of patches that should first expose and then fix the issue. I gave your patches some life-testing - AFAICT so far, they seem to resolve the issue.