It's actually relatively easy, but very verbose since running configure then runs the dependent lib configures as well. You just have to point the configure script to the subdirectory with another configure script.
I have a couple projects which use autotools and rely on a couple custom libraries which also use autotools. You just pass the subdirectories via AC_CONFIG_SUBDIRS: https://github.com/danomatika/joyosc/blob/master/configure.ac#L85 https://github.com/danomatika/joyosc/blob/master/configure.ac#L85
But in the end, I plan to simplify this layout and remove the need for this arrangement in the future.
On Jan 22, 2022, at 6:57 PM, pd-dev-request@lists.iem.at wrote:
Since we build the sources ourselves, as you have noted, it probably makes sense to keep them in our repo as well. I don't even know how to properly integrate an automake project...
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
we build the sources ourselves, as you have noted, it probably makes sense to keep them in our repo as well
[submodules] make problems when using 'git archive'
submodules do not allow for patching the vendored sources
Maybe it's the right use case for "git subtree"? (see e.g https://manpages.debian.org/testing/git-man/git-subtree.1.en.html) I never used it myself though...
Antoine
Le sam. 22 janv. 2022 à 19:43, Dan Wilcox danomatika@gmail.com a écrit :
It's actually relatively easy, but very verbose since running configure then runs the dependent lib configures as well. You just have to point the configure script to the subdirectory with another configure script.
I have a couple projects which use autotools and rely on a couple custom libraries which also use autotools. You just pass the subdirectories via AC_CONFIG_SUBDIRS: https://github.com/danomatika/joyosc/blob/master/configure.ac#L85
But in the end, I plan to simplify this layout and remove the need for this arrangement in the future.
On Jan 22, 2022, at 6:57 PM, pd-dev-request@lists.iem.at wrote:
Since we build the sources ourselves, as you have noted, it probably makes sense to keep them in our repo as well. I don't even know how to properly integrate an automake project...
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev