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