mirror of
https://gitlab.com/EternalWanderer/dice-roller.git
synced 2025-06-08 14:24:24 +02:00
Added ZSH completions
This commit is contained in:
parent
fa11a906e0
commit
7c3be83dd0
3 changed files with 35 additions and 11 deletions
12
Makefile
12
Makefile
|
@ -14,18 +14,16 @@ clean:
|
|||
|
||||
dist: clean
|
||||
mkdir -p dice-roller-$(VERSION)
|
||||
cp -R LICENSE Makefile README.md dice-roller.1 Colors Coin Dice $(SRC) dice-roller-$(VERSION)
|
||||
cp -R zsh.completion LICENSE Makefile README.md dice-roller.1 Colors Coin Dice $(SRC) dice-roller-$(VERSION)
|
||||
tar -cf dice-roller-$(VERSION).tar dice-roller-$(VERSION)
|
||||
gzip dice-roller-$(VERSION).tar
|
||||
rm -rf dice-roller-$(VERSION)
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
cp -f dice-roller $(DESTDIR)$(PREFIX)/bin
|
||||
chmod 775 $(DESTDIR)$(PREFIX)/bin/dice-roller
|
||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
cat dice-roller.1 > $(DESTDIR)$(MANPREFIX)/man1/dice-roller.1
|
||||
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/dice-roller.1
|
||||
install -m 0775 -d $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 755 dice-roller $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 0775 -d $(DESTDIR)$(MANPREFIX)/man1
|
||||
install -m 644 dice-roller.1 $(DESTDIR)$(MANPREFIX)/man1
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/dice-roller\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue