File: Makefile.am

package info (click to toggle)
gengetopt 2.23%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 5,032 kB
  • sloc: cpp: 14,765; ansic: 8,232; sh: 4,782; makefile: 754; yacc: 514; lex: 179; sed: 3
file content (37 lines) | stat: -rw-r--r-- 1,507 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
# Copyright (C) 1999-2007  Free Software Foundation, Inc.
#
# This file is part of GNU gengetopt
#
# GNU gengetopt is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU gengetopt is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with gengetopt; see the file COPYING. If not, see <http://www.gnu.org/licenses/>.

ACLOCAL_AMFLAGS = -I m4 -I gl/m4

EXTRA_DIST = configure TODO LICENSE gl/m4/gnulib-cache.m4
SUBDIRS = gl src tests

gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE

TARBALL = $(top_builddir)/gengetopt-$(PACKAGE_VERSION).tar.xz

release:
	$(MAKE) $(AM_MAKEFLAGS)
	$(MAKE) $(AM_MAKEFLAGS) check
	$(MAKE) $(AM_MAKEFLAGS) dist
	cp $(top_srcdir)/gengetopt.directive $(TARBALL).directive
	sed -i -e 's/VERSION/$(PACKAGE_VERSION)/g' $(TARBALL).directive
	gpg --yes --detach-sign $(TARBALL)
	gpg --yes --clear-sign $(TARBALL).directive
	curl -T $(TARBALL)               ftp://ftp-upload.gnu.org/incoming/ftp
	curl -T $(TARBALL).sig           ftp://ftp-upload.gnu.org/incoming/ftp
	curl -T $(TARBALL).directive.asc ftp://ftp-upload.gnu.org/incoming/ftp