Makefile: add clean target
This commit is contained in:
parent
a4823a1937
commit
64a2cc39d1
7
Makefile
7
Makefile
@ -8,6 +8,7 @@ VERSION := $(shell cat version)
|
|||||||
help:
|
help:
|
||||||
@echo "make rpms -- generate template rpm"
|
@echo "make rpms -- generate template rpm"
|
||||||
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
||||||
|
@echo "make clean -- copy newly generated rpm to installer repo"
|
||||||
|
|
||||||
|
|
||||||
rpms:
|
rpms:
|
||||||
@ -21,4 +22,10 @@ rpms:
|
|||||||
update-repo-installer:
|
update-repo-installer:
|
||||||
ln -f rpm/noarch/qubes-template-$(TEMPLATE_NAME)-$(VERSION)-*.noarch.rpm ../installer/yum/qubes-dom0/rpm
|
ln -f rpm/noarch/qubes-template-$(TEMPLATE_NAME)-$(VERSION)-*.noarch.rpm ../installer/yum/qubes-dom0/rpm
|
||||||
|
|
||||||
|
clean:
|
||||||
|
sudo rm -fr qubeized_images/root.img.*
|
||||||
|
sudo rm -fr qubeized_images/$(TEMPLATE_NAME)*
|
||||||
|
# We're not removing any images from fedorized_images/ intentionally
|
||||||
|
# because the user might want to keep using the same image for a long time
|
||||||
|
# and they are not dependent on any of the Qubes packahes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user