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

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
/target
*.mp4
*.srt
*.key
*.key
*.tar.gz

View file

@ -18,4 +18,7 @@ uninstall:
rm -f "$(DESTDIR)$(PREFIX)/bin/$(PKGNAME)"
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