| 1 |
# Main Makefile for GNU tar. |
| 2 |
|
| 3 |
# Copyright 1994-2023 Free Software Foundation, Inc. |
| 4 |
|
| 5 |
# This file is part of GNU tar. |
| 6 |
|
| 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. |
| 11 |
|
| 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. |
| 16 |
|
| 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/>. |
| 19 |
|
| 20 |
ACLOCAL_AMFLAGS = -I m4 |
| 21 |
EXTRA_DIST = ChangeLog.1 Make.rules |
| 22 |
SUBDIRS = doc gnu lib rmt src scripts po tests |
| 23 |
|
| 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 |
| 29 |
|
| 30 |
distclean-local: |
| 31 |
-rm -f $(distdir).cpio.gz |
| 32 |
|
| 33 |
include Make.rules |
| 34 |
|
| 35 |
gen_start_date = 2009-03-06 |
| 36 |
prev_change_log = ChangeLog.CVS |
| 37 |
changelog_dir = . |
| 38 |
changelog_amend_file=ChangeLog.amend |