mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-13 21:26:48 +02:00
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:
parent
f5284db737
commit
7445de60ca
@ -1,19 +1,11 @@
|
|||||||
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
|
||||||
install=sudo dnf install --assumeyes
|
install=sudo dnf install --assumeyes
|
||||||
copr=sudo dnf copr enable --assumeyes
|
copr=sudo dnf copr enable --assumeyes
|
||||||
make=$(MAKE) -C ..
|
|
||||||
makeh=$(MAKE) -f $(THIS_MAKEFILE)
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all:
|
all:
|
||||||
@${makeh} RPMs/muya.rpm
|
@$(MAKE) -f $(THIS_MAKEFILE) RPMs/muya.rpm install kitty wal crystal rust diff-so-fancy
|
||||||
@${makeh} install
|
@$(MAKE) -C ..
|
||||||
@${makeh} kitty
|
|
||||||
@${makeh} wal
|
|
||||||
@${makeh} crystal
|
|
||||||
@${makeh} rust
|
|
||||||
@${makeh} diff-so-fancy
|
|
||||||
@${makeh} dotfiles
|
|
||||||
|
|
||||||
.PHONY: rice
|
.PHONY: rice
|
||||||
rice:
|
rice:
|
||||||
@ -32,11 +24,6 @@ RPMs/muya.rpm: RPMs/muya.spec
|
|||||||
install:
|
install:
|
||||||
@${install} RPMs/muya.rpm
|
@${install} RPMs/muya.rpm
|
||||||
|
|
||||||
.PHONY: dotfiles
|
|
||||||
dotfiles:
|
|
||||||
@${make} package=tmux
|
|
||||||
@${make} package=fish
|
|
||||||
|
|
||||||
.PHONY: kitty
|
.PHONY: kitty
|
||||||
kitty:
|
kitty:
|
||||||
@${copr} gagbo/kitty-latest
|
@${copr} gagbo/kitty-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user