Snapcraft Build in Subdirectory
robert_joslyn at selinc.com
robert_joslyn at selinc.com
Wed Nov 4 22:51:48 UTC 2015
Is it possible to configure Snapcraft to conduct an autotools build in a
subdirectory of a cloned repository? The repository I'm cloning has the
source in a src subdirectory, which is where the autogen/configure/make
process needs to happen. If I manually repackage the source as a tarball
without a subdirectory, everything works great. I looked at the Snapcraft
code, and I didn't see anything that looked like this is an option. Seems
like there could be a "source-directory" or similar option to go alongside
source, source-type, source-branch, and source-tag.
I can work around this by writing a build script to manipulate the sources
and call snappy build directly, but I'd rather have snapcraft do this for
me than maintain another build script :-)
Thanks,
--
Robert Joslyn
Software Engineer, R&D - Automation
Schweitzer Engineering Laboratories
509-332-1890 ext. 3214
More information about the snappy-app-devel
mailing list