New CGI script for browsing installed software and documentation.
[sw-tools] / perl / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.1 1999/07/30 18:46:36 mdw Exp $
4 ##
5 ## Build and install Perl bits of `sw'.
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.1 1999/07/30 18:46:36 mdw
32 ## New CGI script for browsing installed software and documentation.
33 ##
34
35 AUTOMAKE_OPTIONS = foreign
36
37 cgidir = ${exec_prefix}/cgi-bin
38
39 bin_SCRIPTS = sw-tidy
40 cgi_SCRIPTS = sw
41 man_MANS = sw-tidy.1 sw-cgi.1
42 pkgdata_DATA = \
43 SW.pm SWConfig.pm SWCGI.pm Info.pm \
44 SWList.pm SWDoc.pm SWMan.pm SWInfo.pm
45 noinst_DATA = sw.conf
46 EXTRA_DIST = \
47 sw.conf \
48 SW.pm SWCGI.pm Info.pm \
49 SWList.pm SWDoc.pm SWMan.pm SWInfo.pm \
50 $(man_MANS)
51
52 install-data-hook:
53 [ -r $(datadir)/sw.conf ] || \
54 @INSTALL_DATA@ $(srcdir)/sw.conf $(datadir)/sw.conf
55
56 ##----- That's all, folks ---------------------------------------------------