All pastes #272326 Raw Edit

Untitled

public text v1 · immutable
·published 2006-12-08 22:24 UTC
rendered paste body
MY_SYM := /tmp/somelink
ifeq (,$(shell [ -h ${MY_SYM} ]))
    $(info "Using existing symlink $(MY_SYM)")
else
    $(info "Creating symlink $(MY_SYM)")
endif