1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
SUBDIRS = src ui menus tests po data docs help
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
headers= config.h
publicheaders_DATA=$(headers)
publicheadersdir=$(NEMIVER_INCLUDE_DIR)/common
INTLTOOL_FILES= intltool-extract.in \
intltool-merge.in \
intltool-update.in
EXTRA_DIST= \
README \
INSTALL \
COPYING \
COPYRIGHT \
$(headers) \
$(INTLTOOL_FILES)
doc:
$(MAKE) -C docs doc
###############################
# RELEASE TARGETS
###############################
# Add the following lines to your ~/.ssh/config file if necessary so you don't
# need to specify your username manually:
#
# Host *.gnome.org
# User your-gnome-username
RELEASE_UPLOAD_HOST = master.gnome.org
RELEASE_UPLOAD_BASE = /home/users/$(USER)
RELEASE_URL_BASE = http://download.gnome.org/sources/nemiver
RELEASE_ANNOUNCE_LIST = nemiver-list@gnome.org (cc gnome-announce-list@gnome.org)
tar_xz_file = $(PACKAGE)-$(VERSION).tar.xz
sig_file = $(tar_xz_file).sig
# sign the release with gpg
$(sig_file): $(tar_xz_file)
gpg --output $@ --detach $^
# update ChangeLog from git log
update-changelog:
@$(abs_srcdir)/gitlog2gnucl > ChangeLog.updated
@size1=`stat -c%s $(abs_srcdir)/ChangeLog`; size2=`stat -c%s ChangeLog.updated`; \
if test $(size2) -ge $(size1); then mv ChangeLog.updated $(abs_srcdir)/ChangeLog; \
else echo "ChangeLog.updated is smaller than ChangeLog. Problem!!"\
; exit -1; fi
RELEASED_BRANCH=master
echo-released-branch:
echo "released-branch=$(RELEASED_BRANCH)"
tag-release: tag-release-only
tag-release-only:
git tag -m "$(PACKAGE_NAME) release $(VERSION)" \
"$(PACKAGE_NAME)-$(VERSION)" $(RELEASED_BRANCH)
release-upload: dist tag-release $(tar_xz_file) release-upload-only
release-upload-only:
scp $(tar_xz_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_BASE)/
release : release-upload cat-announcement
cat-announcement:
@echo ""
@echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)"
@echo "including the following:"
@echo ""
@echo "Subject: Nemiver release $(VERSION) now available"
@echo ""
@echo "============================== CUT HERE =============================="
@echo "A new Nemiver release $(VERSION) is now available."
@echo ""
@echo "What is Nemiver?"
@echo "================"
@echo ""
@echo "Nemiver is a standalone graphical debugger that integrates well in the"
@echo "GNOME desktop environment. It currently features a backend which uses"
@echo "the GNU debugger GDB for debugging C/C++ programs."
@echo ""
@echo "Where to get it?"
@echo "================"
@echo ""
@echo "This release is available as a source package in tar.xz format and can"
@echo "be downloaded from: $(RELEASE_URL_BASE)"
@echo ""
@echo "The home page of the Nemiver project is at"
@echo "https://wiki.gnome.org/Apps/Nemiver."
@echo ""
@echo "Who changed what in this release?"
@echo "================================"
@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."
DISTCLEANFILES = \
$(INTLTOOL_FILES:.in=)
|