내 프로젝트에서 몇 가지 심볼릭 링크가 필요합니다.Makefile에서 심볼릭 링크에 대한 의존성이 있습니까?
src/openlayers
에서 폴더 img
과 theme
은 contrib/openlayers
으로 심볼릭 링크되어야합니다. contrib/openlayers
폴더도 자동으로 만들어야합니다.
.PHONY: run
run: contrib/openlayers/theme contrib/openlayers/img
../bin/pserve development.ini --reload
contrib/openlayers/theme:
ln -s src/openlayers/theme [email protected]
contrib/openlayers/img:
ln -s src/openlayers/img [email protected]
하지만이 규칙은 매번 기호 링크를 만들려고합니다. (플래그를 ln
에 넣으므로 매번 심볼릭 링크가 다시 생성됩니다.)
맞아요, 심볼릭 링크가 깨졌습니다. –