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