Use stdopen from gnulib
[tar.git] / Makefile.am
blob3e62ec39e5d4d73173a16b0d55e868703e538a94
1 # Main Makefile for GNU tar.
3 # Copyright 1994-2021 Free Software Foundation, Inc.
5 # This file is part of GNU tar.
7 # GNU tar is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # GNU tar is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 ACLOCAL_AMFLAGS = -I m4
21 EXTRA_DIST = ChangeLog.1 Make.rules
22 SUBDIRS = doc gnu lib rmt src scripts po tests
24 dist-hook:
25         $(MAKE) changelog_dir=$(distdir) ChangeLog
26         -rm -f $(distdir).cpio
27         find $(distdir) | cpio -Hcrc -o | \
28           eval GZIP= gzip $(GZIP_ENV) -c > $(distdir).cpio.gz
30 distclean-local:
31         -rm -f $(distdir).cpio.gz
33 include Make.rules
35 gen_start_date = 2009-03-06
36 prev_change_log = ChangeLog.CVS
37 changelog_dir = .
38 changelog_amend_file=ChangeLog.amend