Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
vnotepad
Exa
提交
ff5896aa
E
Exa
项目概览
vnotepad
/
Exa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
Exa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ff5896aa
编写于
5月 16, 2017
作者:
B
Benjamin Sago
提交者:
GitHub
5月 16, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #176 from kballard/makefile
Fix a bunch of issues with the Makefile
上级
b1be2742
e5764ff7
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
36 addition
and
15 deletion
+36
-15
Makefile
Makefile
+36
-15
未找到文件。
Makefile
浏览文件 @
ff5896aa
DESTDIR
=
DESTDIR
=
PREFIX
=
/usr/local
PREFIX
=
/usr/local
BASHDIR
=
/etc/bash_completion.d
BASHDIR
=
$(PREFIX)
/etc/bash_completion.d
ZSHDIR
=
/usr/share/zsh/vendor-completions
ZSHDIR
=
/usr/share/zsh/vendor-completions
FISHDIR
=
/usr/share/fish/completions
FISHDIR
=
$(PREFIX)
/share/fish/vendor_completions.d
FEATURES
?=
default
FEATURES
?=
default
...
@@ -12,7 +12,7 @@ all: target/release/exa
...
@@ -12,7 +12,7 @@ all: target/release/exa
build
:
target/release/exa
build
:
target/release/exa
target/release/exa
:
target/release/exa
:
cargo build
--release
--
features
"
${ENABLE_FEATURES}
"
cargo build
--release
--
no-default-features
--features
"
$(FEATURES)
"
install
:
install-exa install-man
install
:
install-exa install-man
...
@@ -32,22 +32,43 @@ install-zsh-completions:
...
@@ -32,22 +32,43 @@ install-zsh-completions:
install-fish-completions
:
install-fish-completions
:
install
-m644
--
contrib/completions.fish
"
$(FISHDIR)
/exa.fish"
install
-m644
--
contrib/completions.fish
"
$(FISHDIR)
/exa.fish"
uninstall
:
uninstall
:
-
rm
--
"
$(DESTDIR)$(PREFIX)
/share/man/man1/exa.1"
-
rm
-
f
-
-
"
$(DESTDIR)$(PREFIX)
/share/man/man1/exa.1"
-
rm
--
"
$(DESTDIR)$(PREFIX)
/bin/exa"
-
rm
-
f
-
-
"
$(DESTDIR)$(PREFIX)
/bin/exa"
-
rm
--
"
$(BASHDIR)
/exa"
-
rm
-
f
-
-
"
$(BASHDIR)
/exa"
-
rm
--
"
$(ZSHDIR)
/_exa"
-
rm
-
f
-
-
"
$(ZSHDIR)
/_exa"
-
rm
--
"
$(FISHDIR)
/exa.fish"
-
rm
-
f
-
-
"
$(FISHDIR)
/exa.fish"
clean
:
clean
:
cargo clean
cargo clean
preview-man
:
preview-man
:
nroff
-man
contrib/man/exa.1 | less
man contrib/man/exa.1
help
:
.PHONY
:
all build install-exa install-man preview-man
\
@
echo
'Available make targets:'
@
echo
' all - build exa (default)'
@
echo
' build - build exa'
@
echo
' clean - run `cargo clean`'
@
echo
' install - build and install exa and manpage'
@
echo
' install-exa - build and install exa'
@
echo
' install-man - install the manpage'
@
echo
' uninstall - uninstall fish, manpage, and completions'
@
echo
' preview-man - preview the manpage without installing'
@
echo
' help - print this help'
@
echo
@
echo
' install-bash-completions - install bash completions into $$BASHDIR'
@
echo
' install-zsh-completions - install zsh completions into $$ZSHDIR'
@
echo
' install-fish-completions - install fish completions into $$FISHDIR'
@
echo
@
echo
'Variables:'
@
echo
' DESTDIR - A path that'
\'
's prepended to installation paths (default: "")'
@
echo
' PREFIX - The installation prefix for everything except zsh completions (default: /usr/local)'
@
echo
' BASHDIR - The directory to install bash completions in (default: $$PREFIX/etc/bash_completion.d)'
@
echo
' ZSHDIR - The directory to install zsh completions in (default: /usr/share/zsh/vendor-completions)'
@
echo
' FISHDIR - The directory to install fish completions in (default: $$PREFIX/share/fish/vendor_completions.d)'
@
echo
' FEATURES - The cargo feature flags to use. Set to an empty string to disable git support'
.PHONY
:
all build target/release/exa install-exa install-man preview-man
\
install-bash-completions install-zsh-completions install-fish-completions
\
install-bash-completions install-zsh-completions install-fish-completions
\
clean uninstall
clean uninstall
help
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录