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