fedora: Simplify Makefile

Since dotfiles only change the functionality of existing programs, it is
reasonable to stow everything at once for consistency between operating
systems.
This commit is contained in:
Donovan Glover 2018-11-14 13:23:42 -05:00
parent f5284db737
commit 7445de60ca
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,19 +1,11 @@
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
install=sudo dnf install --assumeyes
copr=sudo dnf copr enable --assumeyes
make=$(MAKE) -C ..
makeh=$(MAKE) -f $(THIS_MAKEFILE)
.PHONY: all
all:
@${makeh} RPMs/muya.rpm
@${makeh} install
@${makeh} kitty
@${makeh} wal
@${makeh} crystal
@${makeh} rust
@${makeh} diff-so-fancy
@${makeh} dotfiles
@$(MAKE) -f $(THIS_MAKEFILE) RPMs/muya.rpm install kitty wal crystal rust diff-so-fancy
@$(MAKE) -C ..
.PHONY: rice
rice:
@ -32,11 +24,6 @@ RPMs/muya.rpm: RPMs/muya.spec
install:
@${install} RPMs/muya.rpm
.PHONY: dotfiles
dotfiles:
@${make} package=tmux
@${make} package=fish
.PHONY: kitty
kitty:
@${copr} gagbo/kitty-latest