chiark / gitweb /
Make sure the sample configuration gets distributed. (Automake changed
[become] / conf / Makefile.am
CommitLineData
6c8d5f96 1## Process this file with `automake' to generate `Makefile.in'
2## -*-makefile-*-
3##
9599f815 4## $Id: Makefile.am,v 1.4 1999/05/04 16:18:39 mdw Exp $
6c8d5f96 5##
6## Makefile for `become'
7##
c758e654 8## (c) 1998 EBI
6c8d5f96 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 $
9599f815 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
c758e654 37## Fix copyright date.
38##
f2131062 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
6c8d5f96 43## New file.
44##
45
46## --- Install configuration things ---
47
48etcdir = @etcdir@
49
f2131062 50noinst_DATA = become.conf
9599f815 51EXTRA_DIST = become.conf
f2131062 52
53install-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
63uninstall-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
6c8d5f96 71
72##----- That's all, folks ---------------------------------------------------