Re: Part 2: Add Cleanfiles for User Defined Special Sources [Re: How to add new Makefile-Rules through Configure?]

2015-03-10 Thread Marc Wäckerlin
ctly why I want it, so my question is absolutely limited to: How do I get it?! So please stop trolling. Thanks Regards -- Marc Wäckerlin http://marc.wäckerlin.ch http://marc.waeckerlin.org

Re: Part 2: Add Cleanfiles for User Defined Special Sources [Re: How to add new Makefile-Rules through Configure?]

2015-03-10 Thread Marc Wäckerlin
Thank you for the answers. The question remains: Isn't there a proper way to add makefile rules from within a configure.ac script? Am 10.03.2015 00:46, schrieb Peter Johansson: On 03/09/2015 06:34 PM, Marc Wäckerlin wrote: Just to state my intention: I want to ad a couple of M4-Macr

Re: AM_CONDITIONAL + AM_COND_IF does not work

2015-03-10 Thread Marc Wäckerlin
nual text is: "variables don't work with automake" ... :( Other ideas? Other solutions? Am I the only one with dozens of similar projects who wants to save some typing ...? ;) On 9 March 2015 at 15:06, Marc Wäckerlin wrote: I try to generically find out, whether examples/makefile.a

AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Marc Wäckerlin
, what's the problem? It's nearly the same code as in the example ... (*) see http://www.gnu.org/software/automake/manual/html_node/Usage-of-Conditionals.html Thank you Regards Marc -- Marc Wäckerlin

Part 2: Add Cleanfiles for User Defined Special Sources [Re: How to add new Makefile-Rules through Configure?]

2015-03-09 Thread Marc Wäckerlin
content, so the rules go straight into the makefile: --- AX_ADDITIONAL_QT_RULES_HACK = %_ui.hxx: %.ui ${UIC} -o $@ $< moc_%.cxx: %.hxx ${MOC} -o $@ $< --- Thank you Regards Marc -- Marc Wäckerlin

How to add new Makefile-Rules through Configure?

2015-03-08 Thread Marc Wäckerlin
ttps://dev.marc.waeckerlin.org/redmine/projects/libpcscxx/repository/raw/trunk/m4/ax_check_qt.m4 and used in https://dev.marc.waeckerlin.org/redmine/projects/libpcscxx/repository/raw/trunk/configure.ac Thank you Regards Marc -- Marc Wäckerlin