www.nico.schottelius.org/software/gpm/browse_source/gpm-1.20.2-broken/patches/done/applied/gpm-1.20.1-contrib.patch

37 lines
1.1 KiB
Diff

Hello,
Since $(ELISP) includes two files and in subdirectories, they need to be
properly handled for the "all" dependency and uninstallation. Here is an
obvious fix. Please apply.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
gpm-1.20.1-contrib.patch
diff -up --recursive --new-file gpm-1.20.1.macro/contrib/Makefile.in gpm-1.20.1/contrib/Makefile.in
--- gpm-1.20.1.macro/contrib/Makefile.in 2002-12-24 22:57:16.000000000 +0000
+++ gpm-1.20.1/contrib/Makefile.in 2003-01-18 23:12:12.000000000 +0000
@@ -9,7 +9,7 @@ top_builddir = ..
include $(top_builddir)/Makefile.include
-all: $(srcdir)/$(ELISP)
+all: $(addprefix $(srcdir)/,$(ELISP))
install: all
if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
@@ -21,7 +21,7 @@ install: all
uninstall:
if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
- rm -f $(lispdir)/$$i ;\
+ rm -f $(lispdir)/`basename $$i` ;\
done; fi
dist: