Description: Remove makefile function which attempted to install files
 directly (not compatible with packaging).
Author: Christopher Martin <chrsmrtn@debian.org>
Last-Update: 2010-02-20
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS=jax @getopt@ @mdetect@ @gpm_imwheel@
+SUBDIRS=jax getopt @mdetect@ @gpm_imwheel@
 
 bin_PROGRAMS=imwheel
 
@@ -22,19 +22,6 @@
 		find $(distdir) -name CVS -exec rm -rvf '{}' ';' ; \
 	done
 
-ETCDIR=/etc/X11/imwheel
-
-install-exec-hook:
-if SUID
-	progname=$(DESTDIR)$(bindir)/`echo imwheel|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` ; \
-	chown @suid@ $$progname ; \
-	chmod u+s $$progname
-endif
-	$(mkinstalldirs) $(ETCDIR)
-	-[ -f /etc/imwheelrc ] && mv /etc/imwheelrc $(ETCDIR)/imwheelrc || true
-	-[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc $(ETCDIR)/imwheelrc || true
-	-[ -f $(ETCDIR)/imwheelrc ] && install -m 644 imwheelrc $(ETCDIR)/imwheelrc.new || install -m 644 imwheelrc $(ETCDIR)/imwheelrc
-
 extras: $(EXTRA_PROGRAMS)
 
 if NO_GPM_DOC
