summaryrefslogtreecommitdiff
path: root/README-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-04-05 17:47:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-04-05 17:47:39 +0300
commit5857b179283711cdfc80afb5048e22fd105449f3 (patch)
treecfbfeb76757de1327b97d8cbb17c526840575ce9 /README-DEV
parentfe7b3cd7cad992ade9d8010751d68760f5663a03 (diff)
Release version 1.1.1+1
Add ignore=untracked configuration option for upstream submodule. Update README-DEV.
Diffstat (limited to 'README-DEV')
-rw-r--r--README-DEV9
1 files changed, 9 insertions, 0 deletions
diff --git a/README-DEV b/README-DEV
index 1c289d5..186e461 100644
--- a/README-DEV
+++ b/README-DEV
@@ -12,6 +12,15 @@ and subdirectories into the build2 package subdirectories. Then, when required,
we "overlay" the upstream with our own headers, placing them into the
library/program directories and their downstream/ subdirectories.
+Note that symlinking upstream submodule subdirectories into a build2 package
+subdirectory results in creating intermediate build files (.d, .o, etc) inside
+upstream directory while building the package in source tree. That's why we
+need to make sure that packages do not share upstream source files via
+subdirectory symlinks, not to also share the related intermediate files. If
+several packages need to compile the same upstream source file, then only one
+of them can symlink it via the parent directory while others must symlink it
+directly.
+
Normally, when packaging a project, we need to replace some auto-generated
headers with our own implementations and deduce compilation/linking options.
For autoconf/cmake-based projects we rely on the Makefile.am, CMakeList.txt