Blame SOURCES/gpm-1.20.6-multilib.patch

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