1

[Makefile] Create Symbolic Link If Not Exist

 1 year ago
source link: http://siongui.github.io/2016/03/04/makefile-create-symbolic-link-if-not-exist/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[Makefile] Create Symbolic Link If Not Exist

March 04, 2016

Create a symbolic link to directory if the symlink does not exist in Makefile. Otherwise do nothing.

[ -L tipitaka/common ] || (cd tipitaka; ln -s ../common/ common)

Tested on Ubuntu Linux 15.10.

[2]use Makefile for setup and development (unfinished) · siongui/pali@333e8c5 · GitHub

[3]Package write provides a way to atomically create or replace a file or symbolic link. : golang


Author: Siong-Ui Te Category: Bash

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK