1# Main Makefile for GNU tar.
2
3# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free
4# Software Foundation, Inc.
5
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2, or (at your option)
9## any later version.
10
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14## GNU General Public License for more details.
15
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, write to the Free Software
18## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19## 02110-1301, USA.
20
21ACLOCAL_AMFLAGS = -I m4
22EXTRA_DIST = ChangeLog.1 PORTS
23SUBDIRS = doc lib rmt src scripts po tests
24
25dist-hook: 
26	-rm -f $(distdir).cpio
27	find $(distdir) | cpio -Hcrc -o | \
28          GZIP=$(GZIP_ENV) gzip -c > $(distdir).cpio.gz
29
30distclean-local:
31	-rm -f $(distdir).cpio.gz
32