Debianization.
[become] / conf / Makefile.am
CommitLineData
6c8d5f96 1## Process this file with `automake' to generate `Makefile.in'
2## -*-makefile-*-
3##
b0f66028 4## $Id: Makefile.am,v 1.5 2003/11/29 23:39:16 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 $
b0f66028 32## Revision 1.5 2003/11/29 23:39:16 mdw
33## Debianization.
34##
9599f815 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
c758e654 40## Fix copyright date.
41##
f2131062 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
6c8d5f96 46## New file.
47##
48
49## --- Install configuration things ---
50
51etcdir = @etcdir@
52
f2131062 53noinst_DATA = become.conf
9599f815 54EXTRA_DIST = become.conf
f2131062 55
56install-data-local: become.conf
b0f66028 57 $(mkinstalldirs) $(DESTDIR)$(etcdir)
58 if test -r $(DESTDIR)$(etcdir)/become.conf; then \
f2131062 59 echo ">>>>>"; \
60 echo ">>>>> become.conf NOT installed"; \
61 echo ">>>>>"; \
62 else \
b0f66028 63 $(INSTALL_DATA) $(srcdir)/become.conf \
64 $(DESTDIR)$(etcdir)/become.conf; \
f2131062 65 fi
66
67uninstall-local:
b0f66028 68 if cmp -s $(srcdir)/become.conf $(DESTDIR)$(etcdir)/become.conf; then \
69 rm -f $(DESTDIR)$(etcdir)/become.conf; \
f2131062 70 else \
71 echo ">>>>>"; \
72 echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \
73 echo ">>>>>"; \
74 fi
6c8d5f96 75
76##----- That's all, folks ---------------------------------------------------