mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-05 10:01:37 +01:00
This Makefile automates the process of creating and installing the RPM package. It hasn't been tested yet, so I may need to fix it later.
19 lines
327 B
Makefile
Vendored
19 lines
327 B
Makefile
Vendored
muya.rpm: muya.spec
|
|
@sudo dnf install -y fedpkg
|
|
@rm -rfv noarch
|
|
@fedpkg --release f29 local
|
|
@mv noarch/*.rpm muya.rpm
|
|
@rmdir noarch
|
|
|
|
.PHONY: install-muya
|
|
install-muya:
|
|
@sudo dnf install muya.rpm
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
@rm -fv **/*.pkg.tar.xz
|
|
@rm -fv **/*.xpi
|
|
@rm -fv **/*.tar.gz
|
|
@rm -fv **/*.tar.bz2
|
|
@rm -fv **/*.vim
|