summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-11-13 16:33:44 +0100
committerOliver Smith <osmith@sysmocom.de>2018-11-21 14:29:11 +0100
commit06d1805c5b0aee5f9a26094ceb0b43aa2dbaa386 (patch)
tree305039d08634ee149c72b0ac9d9ef1cfc7582f5f /.gitignore
parent8d282762d9948d222c8f961434fc04a8c7478d74 (diff)
*filter.conf/*.sty: use symlinks to build, common
$(OSMO_GSM_MANUALS_DIR) is used in most places to reference to the top dir, which contains "build" and "common". But not in the asciidoc mscgen filter configurations, and in the custom LaTeX style. They have ../common or ../build hardcoded, which won't work anymore when the project specific files will be in another repository. Update the Makefiles to create symlinks to "build" and "common" in the dir where the build was started. Use ./common in the files that had ../common hardcoded, and do the same for ./build. Update the Makefile.common.inc comment to refer to common targets in general, so we don't need to list each single one there (like the new 'common' and 'build' targets). I've also thought about using variables there, but this would only work for the asciidoc files, not for the .sty file. We would need to generate the latter from another file and replace the variable dynamically. Having the symlinks instead seemed to be slightly easier. (moving manuals to project repositories 7/19) Related: OS#3385 Change-Id: I4cfd1a9ef482d382f10cdf060e8e2cba81852864
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 30bc93e..b174bb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,7 @@ m4/*.m4
*.pc
Makefile.in
Makefile
+
+# symlinks to shared dirs (needed for out-of-tree builds)
+*/common
+*/build