Use simplified name for deb makefile

This commit is contained in:
Aoran Zeng 2025-06-16 16:49:33 +08:00
parent 975b2391cb
commit 2124770aeb
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
4 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -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>

View File

@ -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>
# | # |

View File

@ -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>