Re: Plus characters ("++") in library name

2017-01-03 Thread Robert Hairgrove
On 2017-01-02 05:31, Thomas Jahns wrote: There's the noinst prefix. But that is totally an automake issue that's well documented. Thank you, Thomas ... I added these lines to Makefile.am and it works now: ``` include_HEADERS = $(top_srcdir)/include/argpp.hpp noinst_HEADERS = $(top_srcdir)/i

Re: Plus characters ("++") in library name

2017-01-02 Thread Thomas Jahns
On 01/02/2017 10:14 AM, c...@roberthairgrove.com wrote: I tried removing "argppbaseimpl.hpp" from the library's __la_SOURCES list. The tar ball was created, but that file was missing from it. I cannot add it to include_HEADERS because it should not be installed in /usr/local/include (it's a priva

Re: Plus characters ("++") in library name

2017-01-02 Thread code
On 2017-01-02 03:37, c...@roberthairgrove.com wrote: Now I am having problems with "make dist" ... here are the errors from make: The "make dist" problem has been temporarily solved by adding a dist-hook target to Makefile.am like this: (in the top-level Makefile.am): ACLOCAL_AMFLAGS = -I m4

Re: Plus characters ("++") in library name

2017-01-02 Thread code
On 2017-01-02 03:37, c...@roberthairgrove.com wrote: Now I am having problems with "make dist" ... here are the errors from make: make[2]: Entering directory '/home/bob/code/C++/argpp_autoconf/src' make[2]: *** No rule to make target 'argppbaseimpl.hpp', needed by 'distdir'. Stop. make[2]: Lea

Re: Plus characters ("++") in library name

2017-01-02 Thread code
On 2017-01-02 01:07, Peter Johansson wrote: Automake doesn't like special characters like '+', so you need to change them to underscore. We had something like this is our 'Makefile.am' before we changed name on the project. lib_LTLIBRARIES = libc++_tools.la libc___tools_la_SOURCES = Hi Peter

Re: Plus characters ("++") in library name

2017-01-01 Thread Peter Johansson
Hi, On 1/2/2017 8:46 AM, c...@roberthairgrove.com wrote: Makefile.am in the root directory looks like this: ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src (not much can go wrong there). Here is the Makefile.am in the src subdirectory: lib_LTLIBRARIES = libargpp.la libargpp_la_SOURCES = argp