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

7 years ago
  1. NAME = TigerOS
  2. XML = backgrounds/desktop-backgrounds-fedora.xml
  3. all: bootloader/fedora.icns
  4. VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
  5. RELEASE := $(shell awk '/Release:/ { print $$2 }' $(NAME).spec | sed 's|%{?dist}||g')
  6. TAG=$(NAME)-$(VERSION)-$(RELEASE)
  7. bootloader/fedora.icns: pixmaps/fedora-logo-small.png
  8. png2icns bootloader/fedora.icns pixmaps/fedora-logo-small.png
  9. tag:
  10. @git tag -a -f -m "Tag as $(TAG)" -f $(TAG)
  11. @echo "Tagged as $(TAG)"
  12. archive: tag
  13. @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION).tar
  14. @bzip2 -f $(NAME)-$(VERSION).tar
  15. @echo "$(NAME)-$(VERSION).tar.bz2 created"
  16. @sha1sum $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).sha1sum
  17. @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/
  18. @echo "Everything done, files uploaded to Fedorahosted.org"
  19. clean:
  20. rm -f *~ *bz2 bootloader/fedora.icns