$NetBSD: patch-ab,v 1.3 2007/09/05 18:58:41 shannonjr Exp $

--- Makefile.in.orig	2007-08-08 09:48:58.000000000 -0600
+++ Makefile.in
@@ -872,34 +872,12 @@ uninstall-info: uninstall-info-recursive
 	uninstall uninstall-am uninstall-info-am uninstall-local
 
 
-install-data-local:
-	$(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir)
-	@if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then         					\
-		echo "********************************************************************************"; 	\
-                echo;                                                                                    	\
-                echo "$(DESTDIR)$(configdir)/prelude-lml.conf already exist...";				\
-                echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist";        \
-                echo;                                                                                    	\
-                echo "********************************************************************************"; 	\
-		$(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist;  \
-        else                                                                                             	\
-                $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/;                       \
-        fi
-	@if test -f $(DESTDIR)$(configdir)/plugins.rules; then         					\
-		echo "********************************************************************************"; 	\
-                echo;                                                                                    	\
-                echo "$(DESTDIR)$(configdir)/plugins.rules already exist...";					\
-                echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist";	        \
-                echo;                                                                                    	\
-                echo "********************************************************************************"; 	\
-		$(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist;	\
-        else                                                                                             	\
-		$(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/;				\
-        fi
+install-data-local:
+	$(BSD_INSTALL_DATA) $(top_srcdir)/prelude-lml.conf @EGDIR@
+	$(BSD_INSTALL_DATA) $(top_srcdir)/plugins.rules @EGDIR@
 
 uninstall-local:
-	rm -f $(DESTDIR)$(configdir)/prelude-lml.conf;	\
-	rm -f $(DESTDIR)$(configdir)/plugin.rules;
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
