remove big /usr/sbin binaries
[ovirt-node-image.git] / Makefile
blob60fa9b4468e695c50f5ddcd64ed76a05c89e0a46
1 pkg_name = ovirt-node-image
3 all: rpms
4 include release.mk
6 # FEDORA_URL env var can be set to the root of a fedora mirror
7 # OVIRT_URL env var can be set to the root of an ovirt.org mirror
8 RPM_FLAGS += \
9 --define "fedora_url $(FEDORA_URL)" \
10 --define "ovirt_url $(OVIRT_URL)"
12 clean:
13 rm -rf $(pkg_name)-*
15 distclean: clean
16 rm -rf repos.ks rpm-build
18 tar: clean $(pkg_name).ks common-install.ks common-pkgs.ks common-post.ks
19 mkdir -p $(NV)
20 cp -a common-install.ks common-pkgs.ks common-post.ks COPYING Makefile \
21 ovirt-flash ovirt-flash-static $(pkg_name).spec $(pkg_name).ks \
22 ovirt-pxe README.krb5 release.mk $(NV)
23 mkdir -p rpm-build
24 tar zcvf rpm-build/$(NV).tar.gz $(NV)
25 cp version rpm-build/
26 rm -rf $(NV)
28 .PHONY: all clean tar distclean