From 996afdc310ad0c00578ee22ab9b1f47d0849d717 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 30 Nov 2018 16:46:32 -0500 Subject: [PATCH] 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. --- .fedora/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.fedora/Makefile b/.fedora/Makefile index d6af4482..fa0cef23 100644 --- a/.fedora/Makefile +++ b/.fedora/Makefile @@ -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