7a2086493dba1f78662ca01f9fc56f52eb59f751
[become] / conf / Makefile.am
1 ## Process this file with `automake' to generate `Makefile.in'
2 ## -*-makefile-*-
3 ##
4 ## $Id: Makefile.am,v 1.4 1999/05/04 16:18:39 mdw Exp $
5 ##
6 ## Makefile for `become'
7 ##
8 ## (c) 1998 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 $
32 ## Revision 1.4 1999/05/04 16:18:39 mdw
33 ## Make sure the sample configuration gets distributed. (Automake changed
34 ## behaviour here.)
35 ##
36 ## Revision 1.3 1998/01/12 16:45:34 mdw
37 ## Fix copyright date.
38 ##
39 ## Revision 1.2 1997/09/18 11:15:14 mdw
40 ## Install a skeleton configuration file carefully.
41 ##
42 ## Revision 1.1 1997/08/20 16:27:02 mdw
43 ## New file.
44 ##
45
46 ## --- Install configuration things ---
47
48 etcdir = @etcdir@
49
50 noinst_DATA = become.conf
51 EXTRA_DIST = become.conf
52
53 install-data-local: become.conf
54 $(mkinstalldirs) $(etcdir)
55 if test -r $(etcdir)/become.conf; then \
56 echo ">>>>>"; \
57 echo ">>>>> become.conf NOT installed"; \
58 echo ">>>>>"; \
59 else \
60 $(INSTALL_DATA) $(srcdir)/become.conf $(etcdir)/become.conf; \
61 fi
62
63 uninstall-local:
64 if cmp -s $(srcdir)/become.conf $(etcdir)/become.conf; then \
65 rm -f $(etcdir)/become.conf; \
66 else \
67 echo ">>>>>"; \
68 echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \
69 echo ">>>>>"; \
70 fi
71
72 ##----- That's all, folks ---------------------------------------------------