Build and install the Perl bits.
[sw-tools] / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.5 1999/07/30 18:45:23 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.5 1999/07/30 18:45:23 mdw
32 ## Build and install the Perl bits.
33 ##
34 ## Revision 1.4 1999/06/18 18:59:51 mdw
35 ## Add sw-share script.
36 ##
37 ## Revision 1.3 1999/06/04 14:02:56 mdw
38 ## Stupid thing doesn't automatically distribute manpages.
39 ##
40 ## Revision 1.2 1999/06/04 13:56:30 mdw
41 ## Install and distribute the manuals.
42 ##
43 ## Revision 1.1.1.1 1999/06/02 16:53:33 mdw
44 ## Initial import.
45 ##
46
47 AUTOMAKE_OPTIONS = foreign
48
49 SUBDIRS = mLib src perl
50
51 bin_SCRIPTS = sw sw-share
52 noinst_DATA = archtab sw-env
53 man_MANS = sw.1 sw-info.5 sw-env.5 archtab.5
54 EXTRA_DIST = archtab sw-env $(man_MANS)
55
56 install-data-local:
57 $(mkinstalldirs) $(datadir)
58 for i in $(noinst_DATA); do \
59 [ -r $(datadir)/$$i ] || \
60 $(INSTALL_DATA) $(srcdir)/$$i $(datadir)/$$i; \
61 done
62
63 ##----- That's all, folks ---------------------------------------------------