Build separately from mLib.
[sw-tools] / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.6 1999/11/11 20:24:37 mdw Exp $
4 ##
5 ## Makefile for sw-tools
6 ##
7 ## (c) 1999 EBI
8 ##
9
10 ##----- Licensing notice ----------------------------------------------------
11 ##
12 ## This file is part of sw-tools.
13 ##
14 ## sw-tools is free software; you can redistribute it and/or modify
15 ## it under the terms of the GNU General Public License as published by
16 ## the Free Software Foundation; either version 2 of the License, or
17 ## (at your option) any later version.
18 ##
19 ## sw-tools is distributed in the hope that it will be useful,
20 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ## GNU General Public License for more details.
23 ##
24 ## You should have received a copy of the GNU General Public License
25 ## along with sw-tools; if not, write to the Free Software Foundation,
26 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28 ##----- Revision history ----------------------------------------------------
29 ##
30 ## $Log: Makefile.am,v $
31 ## Revision 1.6 1999/11/11 20:24:37 mdw
32 ## Build separately from mLib.
33 ##
34 ## Revision 1.5 1999/07/30 18:45:23 mdw
35 ## Build and install the Perl bits.
36 ##
37 ## Revision 1.4 1999/06/18 18:59:51 mdw
38 ## Add sw-share script.
39 ##
40 ## Revision 1.3 1999/06/04 14:02:56 mdw
41 ## Stupid thing doesn't automatically distribute manpages.
42 ##
43 ## Revision 1.2 1999/06/04 13:56:30 mdw
44 ## Install and distribute the manuals.
45 ##
46 ## Revision 1.1.1.1 1999/06/02 16:53:33 mdw
47 ## Initial import.
48 ##
49
50 AUTOMAKE_OPTIONS = foreign
51
52 SUBDIRS = src perl
53
54 bin_SCRIPTS = sw sw-share
55 noinst_DATA = archtab sw-env
56 man_MANS = sw.1 sw-info.5 sw-env.5 archtab.5
57 EXTRA_DIST = archtab sw-env $(man_MANS)
58
59 install-data-local:
60 $(mkinstalldirs) $(datadir)
61 for i in $(noinst_DATA); do \
62 [ -r $(datadir)/$$i ] || \
63 $(INSTALL_DATA) $(srcdir)/$$i $(datadir)/$$i; \
64 done
65
66 ##----- That's all, folks ---------------------------------------------------