Expunge revision histories in files.
[become] / conf / Makefile.am
index e3e69e6..bcf7300 100644 (file)
@@ -1,11 +1,11 @@
 ## Process this file with `automake' to generate `Makefile.in'
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.1 1997/08/20 16:27:02 mdw Exp $
+## $Id: Makefile.am,v 1.6 2004/04/08 01:36:20 mdw Exp $
 ##
 ## Makefile for `become'
 ##
-## (c) 1997 EBI
+## (c) 1998 EBI
 ##
 
 ##----- Licensing notice ----------------------------------------------------
 ## along with `become'; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.1  1997/08/20 16:27:02  mdw
-## New file.
-##
-
 ## --- Install configuration things ---
 
 etcdir = @etcdir@
 
-etc_DATA = become.conf
+noinst_DATA = become.conf
+EXTRA_DIST = become.conf
+
+install-data-local: become.conf
+       $(mkinstalldirs) $(DESTDIR)$(etcdir)
+       if test -r $(DESTDIR)$(etcdir)/become.conf; then \
+         echo ">>>>>"; \
+         echo ">>>>> become.conf NOT installed"; \
+         echo ">>>>>"; \
+       else \
+         $(INSTALL_DATA) $(srcdir)/become.conf \
+               $(DESTDIR)$(etcdir)/become.conf; \
+       fi
+
+uninstall-local:
+       if cmp -s $(srcdir)/become.conf $(DESTDIR)$(etcdir)/become.conf; then \
+         rm -f $(DESTDIR)$(etcdir)/become.conf; \
+       else \
+         echo ">>>>>"; \
+         echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \
+         echo ">>>>>"; \
+       fi
 
 ##----- That's all, folks ---------------------------------------------------