mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
topdir.mk: Make local-% target work
This commit is contained in:
parent
5988feb343
commit
533109b376
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
local-%:
|
||||
find . -name $@.mk | \
|
||||
while read f; do \
|
||||
cd $(dir $$f) ;\
|
||||
while read f; do (\
|
||||
cd `dirname $$f` ;\
|
||||
rm -f local.mk ;\
|
||||
ln -s $(notdir $$f local.mk) ;\
|
||||
done
|
||||
ln -s `basename $$f` local.mk ;\
|
||||
) done
|
||||
|
||||
unlocal:
|
||||
rm -f $(shell find . -name local.mk)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue