-# Main Makefile for Free recode.
-# Copyright © 1992,93,94,95,96,97,98,99,00 Free Software Foundation, Inc.
-# François Pinard <pinard@iro.umontreal.ca>, 1992.
+# Main Makefile for Recode.
+# Copyright © 1992,93,94,95,96,97,98,99,00 Free Software Foundation, Inc.
+# François Pinard <pinard@iro.umontreal.ca>, 1992.
# This program 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 2, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = gnits
-ACLOCAL = ./aclocal.sh @ACLOCAL@
ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST = COPYING-LIB rebox.el recode.spec aclocal.sh
-SUBDIRS = m4 doc lib libiconv po src tests contrib
-
-# The following goals for the maintainer of the Recode Web site.
-
-local:
- ajuster-web $(top_srcdir)/web
-
-publish:
- git archive --format=tar --prefix=recode-$(VERSION)/ HEAD . \
- | gzip > $(top_srcdir)/web/archives/recode-$(VERSION).tar.gz
-
-official: publish
- rm -f $(top_srcdir)/web/archives/recode.tar.gz
- ln -s recode-$(VERSION).tar.gz $(top_srcdir)/web/archives/recode.tar.gz
-
-synchro: local
- du -s $(top_srcdir)/.git
- git gc --prune
- du -s $(top_srcdir)/.git
- find $(top_srcdir) -name '*~' | xargs rm -fv
- synchro -PD alcyon entretien
+SUBDIRS = doc lib src po tests contrib
+
+EXTRA_DIST = COPYING-LIB \
+m4/gnulib-cache.m4 tables.py \
+keld/NomsSeulsfinal.lst keld/charsets.def keld/control.def \
+keld/iso10646.def keld/mnemonics,ds keld/other.def keld/rfc1345.txt
+
+release: distcheck
+ git diff --exit-code && \
+ git tag -a -m "Release tag" "v$(VERSION)" && \
+ git push && git push --tags && \
+ woger github \
+ github_user=rrthomas \
+ package=$(PACKAGE) \
+ version=$(VERSION) \
+ dist_type=tar.gz