From 8b381db0b76177faae7cc1615a9e5a2867031211 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 18 Nov 2014 23:08:13 +0100 Subject: [PATCH] Update Makefile.am after the additions related to gen-changelog.py * Makefile.am: Add ChangeLog and COPYING-LGPLV2 to the source distribution. (update-changelog, tag-release-only tag-release): New Makefile targets. Signed-off-by: Dodji Seketeli --- Makefile.am | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index b3c7b5b2..efb99e38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,21 @@ m4data_DATA = $(srcdir)/abigail.m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libabigail.pc -EXTRA_DIST = \ -README INSTALL COPYING \ -$(headers) $(m4data_DATA) \ +EXTRA_DIST = \ +README INSTALL COPYING ChangeLog \ +COPYING-LGPLV2 COPYING-LGPLV3 \ +gen-changelog.py \ +$(headers) $(m4data_DATA) \ libabigail.pc.in + +update-changelog: + python $(srcdir)/gen-changelog.py > $(srcdir)/ChangeLog + +RELEASED_BRANCH = master +tag-release-only: + git tag -m "$(PACKAGE_NAME) release $(VERSION)" \ + "$(PACKAGE_NAME)-$(VERSION)" $(RELEASED_BRANCH) + +tag-release: tag-release-only + +