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