6c8d5f96 |
1 | ## Process this file with `automake' to generate `Makefile.in' |
2 | ## -*-makefile-*- |
3 | ## |
f2131062 |
4 | ## $Id: Makefile.am,v 1.2 1997/09/18 11:15:14 mdw Exp $ |
6c8d5f96 |
5 | ## |
6 | ## Makefile for `become' |
7 | ## |
8 | ## (c) 1997 EBI |
9 | ## |
10 | |
11 | ##----- Licensing notice ---------------------------------------------------- |
12 | ## |
13 | ## This file is part of `become' |
14 | ## |
15 | ## `Become' is free software; you can redistribute it and/or modify |
16 | ## it under the terms of the GNU General Public License as published by |
17 | ## the Free Software Foundation; either version 2 of the License, or |
18 | ## (at your option) any later version. |
19 | ## |
20 | ## `Become' is distributed in the hope that it will be useful, |
21 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
22 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
23 | ## GNU General Public License for more details. |
24 | ## |
25 | ## You should have received a copy of the GNU General Public License |
26 | ## along with `become'; if not, write to the Free Software Foundation, |
27 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
28 | |
29 | ##----- Revision history ---------------------------------------------------- |
30 | ## |
31 | ## $Log: Makefile.am,v $ |
f2131062 |
32 | ## Revision 1.2 1997/09/18 11:15:14 mdw |
33 | ## Install a skeleton configuration file carefully. |
34 | ## |
35 | ## Revision 1.1 1997/08/20 16:27:02 mdw |
6c8d5f96 |
36 | ## New file. |
37 | ## |
38 | |
39 | ## --- Install configuration things --- |
40 | |
41 | etcdir = @etcdir@ |
42 | |
f2131062 |
43 | noinst_DATA = become.conf |
44 | |
45 | install-data-local: become.conf |
46 | $(mkinstalldirs) $(etcdir) |
47 | if test -r $(etcdir)/become.conf; then \ |
48 | echo ">>>>>"; \ |
49 | echo ">>>>> become.conf NOT installed"; \ |
50 | echo ">>>>>"; \ |
51 | else \ |
52 | $(INSTALL_DATA) $(srcdir)/become.conf $(etcdir)/become.conf; \ |
53 | fi |
54 | |
55 | uninstall-local: |
56 | if cmp -s $(srcdir)/become.conf $(etcdir)/become.conf; then \ |
57 | rm -f $(etcdir)/become.conf; \ |
58 | else \ |
59 | echo ">>>>>"; \ |
60 | echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \ |
61 | echo ">>>>>"; \ |
62 | fi |
6c8d5f96 |
63 | |
64 | ##----- That's all, folks --------------------------------------------------- |