From 06d1805c5b0aee5f9a26094ceb0b43aa2dbaa386 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 13 Nov 2018 16:33:44 +0100 Subject: *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 --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitignore') 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 -- cgit v1.2.3