jw-pkg/make/topdir.mk
2006-06-01 09:10:30 +00:00

10 lines
192 B
Makefile

local-%:
find . -name $@.mk | \
while read f; do (\
cd `dirname $$f` ;\
rm -f local.mk ;\
ln -s `basename $$f` local.mk ;\
) done
unlocal:
rm -f $(shell find . -name local.mk)