mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-17 17:17:00 +08:00
fix(debian): 更新安装步骤,使用 install 命令简化文件复制,更新兼容性和标准版本
This commit is contained in:
parent
a67fc7c859
commit
dc9cb70217
6
Makefile
6
Makefile
@ -114,9 +114,7 @@ deb-clean:
|
||||
-@rm -f ../chsrc_*.deb ../chsrc_*.changes ../chsrc_*.buildinfo
|
||||
|
||||
install: $(Target-Name)
|
||||
@mkdir -p $(DESTDIR)/usr/bin
|
||||
@mkdir -p $(DESTDIR)/usr/share/man/man1
|
||||
@cp $(Target-Name) $(DESTDIR)/usr/bin/
|
||||
@cp doc/chsrc.1 $(DESTDIR)/usr/share/man/man1/ 2>/dev/null || true
|
||||
install -D -m 755 $(Target-Name) $(DESTDIR)/usr/bin/$(Target-Name)
|
||||
install -D -m 644 doc/chsrc.1 $(DESTDIR)/usr/share/man/man1/chsrc.1
|
||||
|
||||
.PHONY: all CI debug test test-xy test-fw fastcheck test-cli clean deb-prepare deb-build deb-clean install
|
||||
|
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
||||
9
|
||||
13
|
||||
|
6
debian/control
vendored
6
debian/control
vendored
@ -1,9 +1,9 @@
|
||||
Source: chsrc
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Aoran Zeng <ccmywish@qq.com>
|
||||
Build-Depends: debhelper (>= 9), build-essential, libc6-dev
|
||||
Standards-Version: 4.1.2
|
||||
Maintainer: sanchuanhehe <wyihe5520@gmail.com>
|
||||
Build-Depends: debhelper-compat (= 13), build-essential, libc6-dev
|
||||
Standards-Version: 4.6.0
|
||||
Homepage: https://github.com/RubyMetric/chsrc
|
||||
Vcs-Git: https://github.com/RubyMetric/chsrc.git
|
||||
Vcs-Browser: https://github.com/RubyMetric/chsrc
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -8,6 +8,3 @@ override_dh_auto_build:
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/chsrc
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(MAKE) clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user