[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#1625: Installation error in 1.1.2pre
From: Stefan.Becker () nmp ! nokia ! com
Date: 1999-07-28 15:38:41
[Download RAW message or body]
Package: kasteroids
Version: 1.1.2pre
kasteroids/sprites/Makefile.am doesn't take a different source directory
into consideration. Thus the installation fails when the build is made in
a different directory than the source code.
The following patches fix the problem:
-------------------------- CUT HERE -----------------------------------
--- Makefile.am~ Wed Jan 6 15:38:33 1999
+++ Makefile.am Wed Jul 28 17:21:10 1999
@@ -13,7 +13,7 @@
#distclean: clean
# rm -f Makefile
-FILES = `find . \( -name "*.ppm" -o -name "*.pbm" \) -print`
+FILES = `(cd $(srcdir); find . \( -name "*.ppm" -o -name "*.pbm" \)
-print | sed -e 's!^\./!!')`
DESTDIR = $(kde_datadir)/kasteroids/sprites
install-data-local:
@@ -24,8 +24,8 @@
$(mkinstalldirs) $(DESTDIR)/bits
$(mkinstalldirs) $(DESTDIR)/missile
for file in $(FILES); do \
- echo "install $$file in "$(DESTDIR)/$$file ;\
- $(INSTALL_DATA) $$file $(DESTDIR)/$$file ;\
+ echo "install "$(srcdir)/$$file" in "$(DESTDIR)/$$file ;\
+ $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)/$$file ;\
done
uninstall-local:
-------------------------- CUT HERE -----------------------------------
Regards,
Stefan
---
Stefan Becker
E-Mail: Stefan.Becker@nmp.nokia.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic