Much of this topic was covered in this thread on pkginclude_HEADERS
I have an open source library and it has some includes with common names. I suspect the best solution is to have my umbrella include file in the pkginclude_HEADERS directory, then have an additional directory there that has all the other headers in it. Then in the umbrella file the usage will be #include .
How can I coerce automake to do this? Thanks!
Most likely:
nobase_pkginclude_HEADERS = subdir/subfile.h
so subfile.h
gets copied to ${pkgincludedir}/subdir/subfile.h
. Without the nobase_
prefix, it would end up as ${pkgincludedir}/subfile.h
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With