mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-20 11:12:45 +08:00
Add clean-deb
target
This commit is contained in:
parent
2124770aeb
commit
0821663073
8
Makefile
Normal file → Executable file
8
Makefile
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/make -f
|
||||
# --------------------------------------------------------------
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# --------------------------------------------------------------
|
||||
@ -7,7 +8,7 @@
|
||||
# | sanchuanhehe <wyihe5520@gmail.com>
|
||||
# |
|
||||
# Created On : <2023-08-28>
|
||||
# Last Modified : <2025-06-15>
|
||||
# Last Modified : <2025-06-16>
|
||||
# --------------------------------------------------------------
|
||||
|
||||
On-Linux = 0
|
||||
@ -125,8 +126,11 @@ clean:
|
||||
build-deb:
|
||||
@$(MAKE) -C pkg/deb deb-build
|
||||
|
||||
clean-deb:
|
||||
@$(MAKE) -C pkg/deb deb-clean
|
||||
|
||||
install: $(Target-Name)
|
||||
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-make-env test-xy test-fw fastcheck test-cli clean install
|
||||
.PHONY: all CI debug test test-make-env test-xy test-fw fastcheck test-cli clean install build-deb clean-deb
|
||||
|
Loading…
x
Reference in New Issue
Block a user