Problem: When using a shadow dir repeatedly, new sources (added after
the creation of the shadowdir) are seen as "missing" and the build
fails.
Solution (untested): Add the following rules to src/Makefile (They
will only come into play when building in a shadow dir)
%.c: ../$@
ln -sv $<
%.h: ../$@
ln -sv $<
IIUC, the above should create symlinks for any *.[ch] files not
present in the shadowdir, provided that they are present in the parent
directory (i.e. src/). It should not interfere with building directly
in src/ since there won't be sources required for building that are
missing in src/ but present in the top dir.
For example, at patchlevel 2056, if these rules had been present, the
first of them would have been interpreted as
dict.c: ../dict.c
ln -sv ../dict.c
avoiding the build error I got on first make run after updating my clone.
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.