mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 22:20:39 +01:00
rules.mk: Add targets local-% and unlocal (might be shifted into topdir.mk, not yet existing)
This commit is contained in:
parent
60a9350b04
commit
7990f63f04
1 changed files with 11 additions and 0 deletions
|
|
@ -313,3 +313,14 @@ echo-development:
|
||||||
|
|
||||||
echo-libpath:
|
echo-libpath:
|
||||||
@echo LD_LIBRARY_PATH = $(LD_LIBRARY_PATH)
|
@echo LD_LIBRARY_PATH = $(LD_LIBRARY_PATH)
|
||||||
|
|
||||||
|
local-%:
|
||||||
|
find . -name $@.mk | \
|
||||||
|
while read f; do \
|
||||||
|
cd $(dir $$f) ;\
|
||||||
|
rm -f local.mk ;\
|
||||||
|
ln -s $(notdir $$f local.mk) ;\
|
||||||
|
done
|
||||||
|
|
||||||
|
unlocal:
|
||||||
|
rm -f $(shell find . -name local.mk)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue