Added make option to create archive for aur

This commit is contained in:
Sayantan Santra 2023-02-26 14:07:04 -06:00
parent a1c4fb816e
commit 9d8e10f041
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
*.mp4 *.mp4
*.srt *.srt
*.key *.key
*.tar.gz

View file

@ -18,4 +18,7 @@ uninstall:
rm -f "$(DESTDIR)$(PREFIX)/bin/$(PKGNAME)" rm -f "$(DESTDIR)$(PREFIX)/bin/$(PKGNAME)"
rm -f "$(DESTDIR)$(PREFIX)/man/man1/$(PKGNAME).1" rm -f "$(DESTDIR)$(PREFIX)/man/man1/$(PKGNAME).1"
aur: build
tar --transform 's/.*\///g' -czf $(PKGNAME).tar.gz target/release/$(PKGNAME) $(PKGNAME).1
.PHONY: build build-debug install clean uninstall aur .PHONY: build build-debug install clean uninstall aur