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:
parent
ede159908c
commit
996afdc310
@ -2,7 +2,7 @@ install=sudo dnf install --assumeyes
|
|||||||
copr=sudo dnf copr enable --assumeyes
|
copr=sudo dnf copr enable --assumeyes
|
||||||
|
|
||||||
.PHONY: all
|
.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
|
.PHONY: rice
|
||||||
rice:
|
rice:
|
||||||
@ -47,6 +47,10 @@ rust:
|
|||||||
diff-so-fancy:
|
diff-so-fancy:
|
||||||
@sudo install -Dm 755 ./vendor/diff-so-fancy /usr/bin/diff-so-fancy
|
@sudo install -Dm 755 ./vendor/diff-so-fancy /usr/bin/diff-so-fancy
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
@rm -rv ~/rpmbuild
|
||||||
|
|
||||||
.PHONY: update
|
.PHONY: update
|
||||||
update:
|
update:
|
||||||
@mkdir -pv vendor
|
@mkdir -pv vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user