Blame SOURCES/gpm-1.20.6-multilib.patch

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