]> Dogcows Code - chaz/tar/blob - Makefile.am
GNU tar 1.12
[chaz/tar] / Makefile.am
1 # Main Makefile for GNU tar.
2 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
3
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17 # 02111-1307, USA.
18
19 AUTOMAKE_OPTIONS = gnits dist-shar
20
21 BABYL = rmail/* admin/*/RMAIL
22 EXTRA_DIST = AC-PATCHES AM-PATCHES BI-PATCHES PORTS rebox.el
23 SUBDIRS = doc lib intl src scripts po tests
24
25 all-local: $(CONFIG_HEADER)
26
27 id: ID
28
29 ID:
30 cd lib && $(MAKE) $@
31 cd src && $(MAKE) $@
32
33 dist-zoo: $(DISTFILES)
34 rm -rf $(distdir)
35 mkdir $(distdir)
36 distdir=`cd $(distdir) && pwd` \
37 && cd $(srcdir) \
38 && automake --include-deps --output-dir=$$distdir
39 @for file in $(DISTFILES); do \
40 test -f $(distdir)/$$file \
41 || cp -p $(srcdir)/$$file $(distdir)/$$file; \
42 done
43 for subdir in $(SUBDIRS); do \
44 test -d $(distdir)/$$subdir \
45 || mkdir $(distdir)/$$subdir \
46 || exit 1; \
47 chmod 777 $(distdir)/$$subdir; \
48 (cd $$subdir && $(MAKE) dist) || exit 1; \
49 done
50 @sublist="$(DIST_SUBDIRS)"; \
51 for dir in $$sublist; do \
52 echo copying directory $$dir; \
53 tar -chf - $$dir | (cd $(distdir) && tar -xBpf -); \
54 done
55 chmod -R a+r $(distdir)
56 find $(distdir) -type f | xargs dosfn
57 # find $(distdir) -type f | xargs recode :ibmpc
58 mv $(distdir) $(PACKAGE)
59 find $(PACKAGE) -type f | zoo ahIq $(PACKAGE).zoo
60 rm -rf $(PACKAGE)
This page took 0.037104 seconds and 5 git commands to generate.