| 1 | ## -*-makefile-*- |
| 2 | ## |
| 3 | ## $Id: Makefile.am,v 1.2 2004/04/08 01:52:19 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 | AUTOMAKE_OPTIONS = foreign |
| 29 | |
| 30 | cgidir = ${exec_prefix}/cgi-bin |
| 31 | |
| 32 | bin_SCRIPTS = sw-tidy |
| 33 | cgi_SCRIPTS = sw |
| 34 | man_MANS = sw-tidy.1 sw-cgi.1 |
| 35 | pkgdata_DATA = \ |
| 36 | SW.pm SWConfig.pm SWCGI.pm Info.pm \ |
| 37 | SWList.pm SWDoc.pm SWMan.pm SWInfo.pm |
| 38 | noinst_DATA = sw.conf |
| 39 | EXTRA_DIST = \ |
| 40 | sw.conf \ |
| 41 | SW.pm SWCGI.pm Info.pm \ |
| 42 | SWList.pm SWDoc.pm SWMan.pm SWInfo.pm \ |
| 43 | $(man_MANS) |
| 44 | |
| 45 | install-data-hook: |
| 46 | [ -r $(datadir)/sw.conf ] || \ |
| 47 | @INSTALL_DATA@ $(srcdir)/sw.conf $(datadir)/sw.conf |
| 48 | |
| 49 | ##----- That's all, folks --------------------------------------------------- |