Re: make dist fails for EXTRA_DIST elements

2015-03-09 Thread Vincent Torri
Hey On Mon, Mar 9, 2015 at 11:23 PM, Andy Falanga (afalanga) wrote: > Hi, > > The project I'm working on builds in both Windows and Linux. As you may > imagine, there are some conditional compilations and, in fact, sometimes full > files are left out. There are also some header files, and a p

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

2015-03-09 Thread 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-Macros to support users of now unsupported build tools, namely doxygen, Qt, dpkg-buildpackage, rpmbuild, ...; then I will deliver those as M4 macro library that can be included in configure.ac

Re: make dist fails for EXTRA_DIST elements

2015-03-09 Thread Peter Johansson
Hi Andy, On 03/10/2015 08:23 AM, Andy Falanga (afalanga) wrote: I try taking out the *.cpp file and try again with the same error but with the *.h. If I take out the *.h file, all is well again and "make dist" is happy and fine. Why is it picky with files ending with *.cpp and *.h if these t

make dist fails for EXTRA_DIST elements

2015-03-09 Thread Andy Falanga (afalanga)
Hi, The project I'm working on builds in both Windows and Linux. As you may imagine, there are some conditional compilations and, in fact, sometimes full files are left out. There are also some header files, and a python script for auto-building a header file, which must be distributed too.

Re: How to add new Makefile-Rules through Configure?

2015-03-09 Thread Gavin Smith
On 8 March 2015 at 22:29, Marc Wäckerlin wrote: > I didn't find any proper solution with google for the following problem: > > How do the makefile rules come into the makefile? > > E.g. when I use AC_PROG_CXX, in the makefile rules should be added, such as > compiling .o from .cxx and to cleanup .

Re: AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Gavin Smith
On 9 March 2015 at 15:06, Marc Wäckerlin wrote: > According to the official documentation(*): > -- > Here is an example of how to define a conditional config file: > AM_CONDITIONAL([SHELL_WRAPPER], [test "x$with_wrapper" = xtrue]) > AM_COND_IF([SHELL_WRAPPER

Re: AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Tom Ghyselinck
Hi Marc, On ma, 2015-03-09 at 16:06 +0100, Marc Wäckerlin wrote: > I try to generically find out, whether examples/makefile.am exists in a > project and to automatically use it, if it exists: > -- > AM_CONDITIONAL([HAVE_EXAMPLES_DIR], [test -f examples/mak

Re: AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Tyler Retzlaff
Hey, On 3/9/2015 11:06 AM, Marc Wäckerlin wrote: According to the official documentation(*): -- Here is an example of how to define a conditional config file: AM_CONDITIONAL([SHELL_WRAPPER], [test "x$with_wrapper" = xtrue]) AM_COND_IF([SHELL_WRAPPER],

AM_CONDITIONAL + AM_COND_IF does not work

2015-03-09 Thread Marc Wäckerlin
According to the official documentation(*): -- Here is an example of how to define a conditional config file: AM_CONDITIONAL([SHELL_WRAPPER], [test "x$with_wrapper" = xtrue]) AM_COND_IF([SHELL_WRAPPER], [AC_CONFIG_FILES([wrapper:wrapper.in])]) ---

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
Just to state my intention: I want to ad a couple of M4-Macros to support users of now unsupported build tools, namely doxygen, Qt, dpkg-buildpackage, rpmbuild, ...; then I will deliver those as M4 macro library that can be included in configure.ac and that should do as much as possible "automa