mirror of
https://github.com/SinTan1729/movie-rename.git
synced 2025-04-18 09:57:41 -05:00
fix: Improved compatibility of built package
This commit is contained in:
parent
cf8a9ee764
commit
3757dd0a47
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -2,7 +2,7 @@ PREFIX := /usr/local
|
|||
PKGNAME := movie-rename
|
||||
|
||||
build:
|
||||
cargo build --release
|
||||
cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.34
|
||||
|
||||
build-debug:
|
||||
cargo build
|
||||
|
@ -19,6 +19,6 @@ uninstall:
|
|||
rm -f "$(DESTDIR)$(PREFIX)/man/man1/$(PKGNAME).1"
|
||||
|
||||
aur: build
|
||||
tar --transform 's/.*\///g' -czf $(PKGNAME).tar.gz target/release/$(PKGNAME) target/autocomplete/* $(PKGNAME).1
|
||||
tar --transform 's/.*\///g' -czf $(PKGNAME).tar.gz target/x86_64-unknown-linux-gnu/release/$(PKGNAME) target/autocomplete/* $(PKGNAME).1
|
||||
|
||||
.PHONY: build build-debug install clean uninstall aur
|
||||
|
|
Loading…
Reference in a new issue