qubes-installer-qubes-os/qubes-logos-1/Makefile
Tomasz Sterna aada4447cb Initial import of qubes-logos package.
Qubes release package is based on Fedora 13 generic-logos package.
2011-01-11 14:52:18 -05:00

20 lines
566 B
Makefile

NAME = generic-logos
XML = backgrounds/desktop-backgrounds-fedora.xml
all: update-po archive
VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
RELEASE := $(shell awk '/Release:/ { print $$2 }' $(NAME).spec | sed 's|%{?dist}||g')
TAG=$(NAME)-$(VERSION)-$(RELEASE)
tag:
@git tag -a -f -m "Tag as $(TAG)" -f $(TAG)
@echo "Tagged as $(TAG)"
archive: tag
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION).tar
@bzip2 -f $(NAME)-$(VERSION).tar
@echo "The archive is at $(NAME)-$(VERSION).tar.bz2"
clean:
rm -f *~ *bz2