1
0
forked from extern/nix-config

fedora: Add make clean target

In attempt to keep the home directory as clean as possible, we remove
the rpmbuild directory when we're done with it, which, as of this
writing, will not contain any files anyway.
This commit is contained in:
Donovan Glover 2018-11-30 16:46:32 -05:00
parent ede159908c
commit 996afdc310
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,7 +2,7 @@ install=sudo dnf install --assumeyes
copr=sudo dnf copr enable --assumeyes
.PHONY: all
all: rice RPMs/muya.rpm install kitty wal crystal rust diff-so-fancy
all: rice RPMs/muya.rpm install kitty wal crystal rust diff-so-fancy clean
.PHONY: rice
rice:
@ -47,6 +47,10 @@ rust:
diff-so-fancy:
@sudo install -Dm 755 ./vendor/diff-so-fancy /usr/bin/diff-so-fancy
.PHONY: clean
clean:
@rm -rv ~/rpmbuild
.PHONY: update
update:
@mkdir -pv vendor