Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
1.0 KiB

NAME = TigerOS
XML = backgrounds/desktop-backgrounds-fedora.xml
all: bootloader/fedora.icns
VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
RELEASE := $(shell awk '/Release:/ { print $$2 }' $(NAME).spec | sed 's|%{?dist}||g')
TAG=$(NAME)-$(VERSION)-$(RELEASE)
bootloader/fedora.icns: pixmaps/fedora-logo-small.png
png2icns bootloader/fedora.icns pixmaps/fedora-logo-small.png
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 "$(NAME)-$(VERSION).tar.bz2 created"
@sha1sum $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).sha1sum
@scp $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).sha1sum fedorahosted.org:$(NAME) || scp $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).sha1sum fedorahosted.org:/srv/web/releases/g/e/generic-logos/
@echo "Everything done, files uploaded to Fedorahosted.org"
clean:
rm -f *~ *bz2 bootloader/fedora.icns