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