Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > bbd3e8e2100890904741ebd69eab646a > files > 7

gpm-1.20.5-1mdv2009.0.src.rpm

--- gpm-1.20.5/doc/Makefile.in~	2008-06-13 16:08:18.000000000 +0800
+++ gpm-1.20.5/doc/Makefile.in	2008-07-12 13:04:00.000000000 +0800
@@ -101,7 +101,7 @@
 
 # Main portion
 
-all: $(srcdir)/gpm.info $(MANPAGES)
+all: gpm.info $(MANPAGES)
 
 # why gpmdoc.ps and gpm.ps??
 # there is no gpm.ps in my tree and no rule to generate gpm.ps.
@@ -130,8 +130,8 @@
 	#i keep all my infopages compressed and i'm tired to do it by
 	#hand, so check if there are any compressed pages and do this
 	#one too
-	-ls $(infodir)/*[-.]info.gz >/dev/null 2>&1 \
-		&& gzip -f $(infodir)/gpm.info
+	#-ls $(infodir)/*[-.]info.gz >/dev/null 2>&1 \
+	#	&& gzip -f $(infodir)/gpm.info
 	# Hmm.... shouldn't man pages be compressed too?
    # maybe they should, but at least at my system they are not.
 
--- gpm-1.20.5/contrib/Makefile.in~	2008-06-16 22:21:06.000000000 +0800
+++ gpm-1.20.5/contrib/Makefile.in	2008-07-12 13:06:30.000000000 +0800
@@ -9,10 +9,10 @@
 
 include $(top_builddir)/Makefile.include
 
-all: $(srcdir)/$(ELISP)
+all: $(filter-out %.elc,$(srcdir)/$(ELISP))
 
 install: all
-	if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
+	if [ -n "$(filter-out %.elc,$(ELISP))" ]; then for i in `echo $(filter-out %.elc,$(ELISP))`; do \
 		$(INSTALL_DATA) $(srcdir)/$$i $(lispdir)/`basename $$i` ;\
 	done; fi
 
@@ -20,7 +20,7 @@
 	$(EMACS) -batch -l $(srcdir)/emacs/exec.el -exec '(byte-compile-file "$<")'
 
 uninstall:
-	if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
+	if [ -n "$(filter-out %.elc,$(ELISP))" ]; then for i in `echo $(filter-out %.elc,$(ELISP))`; do \
 		rm -f $(lispdir)/$$i ;\
 	done; fi