6c8d5f96 |
1 | ## Process this file with `automake' to generate `Makefile.in' |
2 | ## -*-makefile-*- |
3 | ## |
af4f4d6a |
4 | ## $Id: Makefile.am,v 1.6 2004/04/08 01:36:20 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 | |
6c8d5f96 |
29 | ## --- Install configuration things --- |
30 | |
31 | etcdir = @etcdir@ |
32 | |
f2131062 |
33 | noinst_DATA = become.conf |
9599f815 |
34 | EXTRA_DIST = become.conf |
f2131062 |
35 | |
36 | install-data-local: become.conf |
b0f66028 |
37 | $(mkinstalldirs) $(DESTDIR)$(etcdir) |
38 | if test -r $(DESTDIR)$(etcdir)/become.conf; then \ |
f2131062 |
39 | echo ">>>>>"; \ |
40 | echo ">>>>> become.conf NOT installed"; \ |
41 | echo ">>>>>"; \ |
42 | else \ |
b0f66028 |
43 | $(INSTALL_DATA) $(srcdir)/become.conf \ |
44 | $(DESTDIR)$(etcdir)/become.conf; \ |
f2131062 |
45 | fi |
46 | |
47 | uninstall-local: |
b0f66028 |
48 | if cmp -s $(srcdir)/become.conf $(DESTDIR)$(etcdir)/become.conf; then \ |
49 | rm -f $(DESTDIR)$(etcdir)/become.conf; \ |
f2131062 |
50 | else \ |
51 | echo ">>>>>"; \ |
52 | echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \ |
53 | echo ">>>>>"; \ |
54 | fi |
6c8d5f96 |
55 | |
56 | ##----- That's all, folks --------------------------------------------------- |