ebbdd0
diff -up gpm-1.20.6/contrib/Makefile.in.multilib gpm-1.20.6/contrib/Makefile.in
ebbdd0
--- gpm-1.20.6/contrib/Makefile.in.multilib	2008-06-19 07:48:48.000000000 +0200
ebbdd0
+++ gpm-1.20.6/contrib/Makefile.in	2009-02-24 10:36:09.000000000 +0100
ebbdd0
@@ -9,10 +9,10 @@ top_builddir = ..
ebbdd0
 
ebbdd0
 include $(top_builddir)/Makefile.include
ebbdd0
 
ebbdd0
-all: $(srcdir)/$(ELISP)
ebbdd0
+all: $(filter-out %.elc,$(srcdir)/$(ELISP))
ebbdd0
 
ebbdd0
 install: all
ebbdd0
-	if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
ebbdd0
+	if [ -n "$(filter-out %.elc,$(ELISP))" ]; then for i in `echo $(filter-out %.elc,$(ELISP))`; do \
ebbdd0
 		$(INSTALL_DATA) $(srcdir)/$$i $(lispdir)/`basename $$i` ;\
ebbdd0
 	done; fi
ebbdd0
 
ebbdd0
@@ -20,7 +20,7 @@ install: all
ebbdd0
 	$(EMACS) -batch -l $(srcdir)/emacs/exec.el -exec '(byte-compile-file "$<")'
ebbdd0
 
ebbdd0
 uninstall:
ebbdd0
-	if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
ebbdd0
+	if [ -n "$(filter-out %.elc,$(ELISP))" ]; then for i in `echo $(filter-out %.elc,$(ELISP))`; do \
ebbdd0
 		rm -f $(lispdir)/$$i ;\
ebbdd0
 	done; fi 
ebbdd0
 
ebbdd0
@@ -28,4 +28,4 @@ dist:
ebbdd0
 	$(CP) -r $(srcdir) $(top_builddir)/gpm-$(release)/
ebbdd0
 
ebbdd0
 clean distclean:
ebbdd0
-	$(RM) -f $(srcdir)/emacs/*.elc Makefile
ebbdd0
+	$(RM) $(srcdir)/emacs/*.elc Makefile
ebbdd0
diff -up gpm-1.20.6/doc/Makefile.in.multilib gpm-1.20.6/doc/Makefile.in
ebbdd0
--- gpm-1.20.6/doc/Makefile.in.multilib	2009-02-09 10:58:53.000000000 +0100
ebbdd0
+++ gpm-1.20.6/doc/Makefile.in	2009-02-24 10:36:09.000000000 +0100
ebbdd0
@@ -130,8 +130,8 @@ install:	all installdirs
ebbdd0
 	#i keep all my infopages compressed and i'm tired to do it by
ebbdd0
 	#hand, so check if there are any compressed pages and do this
ebbdd0
 	#one too
ebbdd0
-	-ls $(infodir)/*[-.]info.gz >/dev/null 2>&1 \
ebbdd0
-		&& gzip -f $(infodir)/gpm.info
ebbdd0
+	#-ls $(infodir)/*[-.]info.gz >/dev/null 2>&1 \
ebbdd0
+	#	&& gzip -f $(infodir)/gpm.info
ebbdd0
 	# Hmm.... shouldn't man pages be compressed too?
ebbdd0
    # maybe they should, but at least at my system they are not.
ebbdd0