Added make option to create archive for aur
This commit is contained in:
parent
a1c4fb816e
commit
9d8e10f041
|
@ -1,4 +1,5 @@
|
||||||
/target
|
/target
|
||||||
*.mp4
|
*.mp4
|
||||||
*.srt
|
*.srt
|
||||||
*.key
|
*.key
|
||||||
|
*.tar.gz
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue