mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-10 06:03:24 +08:00
feat(debian): 添加 DEB 包构建和发布工作流及相关文件
This commit is contained in:
16
debian/rules
vendored
Executable file
16
debian/rules
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
$(MAKE) all
|
||||
|
||||
override_dh_auto_install:
|
||||
mkdir -p debian/chsrc/usr/bin
|
||||
mkdir -p debian/chsrc/usr/share/man/man1
|
||||
cp chsrc debian/chsrc/usr/bin/
|
||||
cp doc/chsrc.1 debian/chsrc/usr/share/man/man1/
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(MAKE) clean
|
Reference in New Issue
Block a user