File: Makefile.am

package info (click to toggle)
nemiver 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,736 kB
  • ctags: 5,527
  • sloc: cpp: 41,722; sh: 9,209; xml: 3,740; ansic: 829; makefile: 801; sql: 30
file content (94 lines) | stat: -rw-r--r-- 2,903 bytes parent folder | download
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
SUBDIRS = src glade menus tests po data docs help
ACLOCAL_AMFLAGS = -I m4
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) \
gnome-doc-utils.make

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 *.gna.org
# 	User your-gna-username

RELEASE_UPLOAD_HOST = master.gnome.org
RELEASE_UPLOAD_BASE = /home/users/$(USER)
RELEASE_URL_BASE = http://ftp.gnome.org/pub/GNOME/sources/nemiver/
SVN_ROOT = svn+ssh://svn.gnome.org/svn/nemiver
RELEASE_ANNOUNCE_LIST = nemiver-list@gna.org (cc gnome-announce-list@gnome.org)
tar_gz_file = $(PACKAGE)-$(VERSION).tar.gz
sig_file = $(tar_gz_file).sig

# sign the release with gpg
$(sig_file): $(tar_gz_file)
	gpg --output $@ --detach $^

RELEASED_BRANCH=trunk

echo-released-branch:
	echo "released-branch=$(RELEASED_BRANCH)"

tag-release: dist tag-release-only
tag-release-only:
	svn copy -m "$(PACKAGE_NAME) release $(VERSION)" \
		$(SVN_ROOT)/$(RELEASED_BRANCH) $(SVN_ROOT)/tags/$(PACKAGE_NAME)-$(VERSION)

release-upload: tag-release $(tar_gz_file) release-upload-only
release-upload-only:
	scp $(tar_gz_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: $(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 standalone graphical debugger that integrates well in the GNOME desktop environment."
	@echo "It currently features a backend which uses the GNU debugger gdb for debugging C/C++ programs."
	@echo ""
	@echo "Where to get it?"
	@echo "================"
	@echo "This release is available as a source package in tar.gz format"
	@echo "and can be downloaded from: $(RELEASE_URL_BASE)"
	@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."

DISTCLEANFILES = $(INTLTOOL_FILES:.in=) \
	gnome-doc-utils.make

DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper