SUBDIRS = src pixmaps po data tests help EXTRA_DIST = intltool-extract.in \ intltool-merge.in \ intltool-update.in \ gnome-doc-utils.make DISTCLEANFILES = intltool-extract \ intltool-merge \ intltool-update \ gnome-doc-utils.make DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper AUTOMAKE_OPTIONS = gnu dist-bzip2 doc: cd doc && doxygen Doxyfile LOCAL_RELEASE_BASE = ~/Projects/gcs-releases LOCAL_RELEASE_DIR = $(LOCAL_RELEASE_BASE)/releases RELEASE_UPLOAD_HOST = download.gna.org RELEASE_UPLOAD_BASE = /upload/colorscheme RELEASE_URL_BASE = http://download.gna.org/colorscheme/releases RELEASE_ANNOUNCE_LIST = colorscheme-devel@googlegroups.com (cc gnome-announce-list@gnome.org) #RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases tar_gz_file = $(PACKAGE)-$(VERSION).tar.gz tar_bz2_file = $(PACKAGE)-$(VERSION).tar.bz2 sig_gz_file = $(tar_gz_file).sig sig_bz2_file = $(tar_bz2_file).sig $(sig_gz_file): $(tar_gz_file) gpg --output $@ --detach $^ $(sig_bz2_file): $(tar_bz2_file) gpg --output $@ --detach $^ # This doesn't do what I want it to do... It seems you'd need to execute # git-update-index before this gave me anything useful, but I'm not sure I # want to do that automatically verify-files-checked-in: @test ! git-status || (echo "*** Some files are not checked in." \ && echo "*** Run 'git status' for more information." \ && false) tag-release: distcheck @echo "TAGGING RELEASE..." git tag -s -m "$(PACKAGE_NAME) release $(VERSION)" $(VERSION) copy-to-local-release-dir: tag-release $(sig_gz_file) $(sig_bz2_file) @echo "COPYING TO RELEASE DIR..." mkdir -p $(LOCAL_RELEASE_DIR) cp $(tar_gz_file) $(LOCAL_RELEASE_DIR) cp $(tar_bz2_file) $(LOCAL_RELEASE_DIR) cp $(sig_gz_file) $(LOCAL_RELEASE_DIR) cp $(sig_bz2_file) $(LOCAL_RELEASE_DIR) sync-releases: copy-to-local-release-dir @echo "UPLOADING RELEASE..." -rsync --delete -aLv --rsh="ssh" $(LOCAL_RELEASE_BASE)/ $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_BASE) release-publish: sync-releases @echo "" @echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)" @echo "including the following:" @echo "" @echo "Subject: $(PACKAGE_NAME) release $(VERSION) now available" @echo "" @echo "============================== CUT HERE ==============================" @echo "A new $(PACKAGE_NAME) release $(VERSION) is now available." @echo "" @echo "What is it?" @echo "===========" @echo "$(PACKAGE_NAME) is a very simple application for the GNOME desktop that " @echo "allows you to generate a variety of colorschemes from a single starting color." @echo "" @echo "It is aimed primarily toward web designers for creating pleasing color" @echo "combinations for websites." @echo "" @echo "More information can be found at $(PACKAGE_WEBSITE)" @echo "" @echo "Where to get it?" @echo "================" @echo "This release is available as a source package in tar.gz or tar.bz2 format" @echo "and can be downloaded from:" @echo "" @echo "$(RELEASE_URL_BASE)/$(tar_gz_file)" @echo " which can be verified with:" @echo "$(RELEASE_URL_BASE)/$(sig_gz_file)" @echo "" @echo " or:" @echo "" @echo "$(RELEASE_URL_BASE)/$(tar_bz2_file)" @echo " which can be verified with:" @echo "$(RELEASE_URL_BASE)/$(sig_bz2_file)" @echo "" @echo "What's Changed?" @echo "===============" @echo "" @echo "============================== CUT HERE ==============================" @echo "Also, please include the new entries from the NEWS file." @echo "" @echo "Make sure to update the Website with the new version." @echo "" @echo "Last but not least, do not forget to bump up the micro" @echo "version component to the next (odd) number and commit." .PHONY: doc copy-to-local-release-dir sync-releases release-publish tag-release