mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-19 02:08:59 +08:00
Use simplified name for deb makefile
This commit is contained in:
parent
975b2391cb
commit
2124770aeb
4
Makefile
4
Makefile
@ -120,10 +120,10 @@ clean:
|
|||||||
-@rm chsrc 2>/dev/null
|
-@rm chsrc 2>/dev/null
|
||||||
-@rm README.md.bak* 2>/dev/null
|
-@rm README.md.bak* 2>/dev/null
|
||||||
|
|
||||||
# -include pkg/deb/deb.makefile # 不这么做,因为 pkg/deb/deb.makefile 需要在 pkg/deb 目录下执行
|
# -include pkg/deb/Makefile # 不这么做,因为 pkg/deb/Makefile 需要在 pkg/deb 目录下执行
|
||||||
# 保持动词在前的任务名风格
|
# 保持动词在前的任务名风格
|
||||||
build-deb:
|
build-deb:
|
||||||
@$(MAKE) -C pkg/deb -f deb.makefile deb-build
|
@$(MAKE) -C pkg/deb deb-build
|
||||||
|
|
||||||
install: $(Target-Name)
|
install: $(Target-Name)
|
||||||
install -D -m 755 $(Target-Name) $(DESTDIR)/usr/bin/$(Target-Name)
|
install -D -m 755 $(Target-Name) $(DESTDIR)/usr/bin/$(Target-Name)
|
||||||
|
@ -33,7 +33,7 @@ cd chsrc
|
|||||||
cd pkg/deb
|
cd pkg/deb
|
||||||
|
|
||||||
# 执行构建命令
|
# 执行构建命令
|
||||||
./deb.makefile deb-make
|
./Makefile deb-make
|
||||||
```
|
```
|
||||||
|
|
||||||
### 调试构建
|
### 调试构建
|
||||||
@ -95,7 +95,7 @@ zless /usr/share/doc/chsrc/changelog.Debian.gz
|
|||||||
### 清理构建产物
|
### 清理构建产物
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./deb.makefile deb-clean
|
./Makefile deb-clean
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# Build File : deb.makefile
|
# Build File : Makefile
|
||||||
# File Authors : sanchuanhehe <wyihe5520@gmail.com>
|
# File Authors : sanchuanhehe <wyihe5520@gmail.com>
|
||||||
# Contributors : Aoran Zeng <ccmywish@qq.com>
|
# Contributors : Aoran Zeng <ccmywish@qq.com>
|
||||||
# |
|
# |
|
@ -20,14 +20,14 @@
|
|||||||
## 相关文件
|
## 相关文件
|
||||||
|
|
||||||
- `.github/workflows/pkg-deb.yml` - CI 配置文件
|
- `.github/workflows/pkg-deb.yml` - CI 配置文件
|
||||||
- `CI.md` - CI 情况说明
|
- `./CI.md` - CI 情况说明
|
||||||
|
|
||||||
<wbr>
|
<wbr>
|
||||||
|
|
||||||
- `debian/` - deb 包构建配置目录
|
- `./debian/` - deb 包构建配置目录
|
||||||
- `BUILD.md` - 如何手动构建
|
- `./BUILD.md` - 如何手动构建
|
||||||
- `deb.makefile` - deb 包构建 Makefile
|
- `./Makefile` - deb 包构建 Makefile
|
||||||
- `deb-installation-test.sh` - deb 包 **已正确安装** 测试脚本
|
- `./deb-installation-test.sh` - deb 包 **已正确安装** 测试脚本
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user