mirror of
https://github.com/SinTan1729/movie-rename.git
synced 2024-12-25 19:58:36 -06:00
Added make option to create archive for aur
This commit is contained in:
parent
a1c4fb816e
commit
9d8e10f041
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
*.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 a new issue