1
0
forked from extern/nix-config

fedora: Fix paths in Makefile

Here we have to reference the RPMs directory explicitly since the
spec file is inside it.
This commit is contained in:
Donovan Glover 2018-11-13 14:38:03 -05:00
parent 3c98fa96ef
commit 266ce1a6e2
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -5,7 +5,7 @@ makeh=$(MAKE) -f $(THIS_MAKEFILE)
.PHONY: all
all:
@${makeh} muya.rpm
@${makeh} RPMs/muya.rpm
@${makeh} install
@${makeh} wal
@${makeh} crystal
@ -17,7 +17,9 @@ all:
rice:
@${install} gnome-tweaks pop-gtk-theme pop-icon-theme breeze-cursor-theme
muya.rpm: muya.spec
.ONESHELL:
RPMs/muya.rpm: RPMs/muya.spec
@cd RPMs
@rm -rfv noarch
@fedpkg --release f29 local
@mv noarch/*.rpm muya.rpm
@ -26,7 +28,7 @@ muya.rpm: muya.spec
.PHONY: install
install:
@${install} muya.rpm
@${install} RPMs/muya.rpm
.PHONY: dotfiles
dotfiles: