aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2005-05-08 12:36:12 +0000
committerMax Horn2005-05-08 12:36:12 +0000
commitd58dec471f3b087e211be6d8d560403590f49149 (patch)
tree4481cb6ba008b3e4692afc2783f355d4453ec268 /Makefile
parent5d5b997864bdc9d0daddf5b9b73a803122558130 (diff)
downloadscummvm-rg350-d58dec471f3b087e211be6d8d560403590f49149.tar.gz
scummvm-rg350-d58dec471f3b087e211be6d8d560403590f49149.tar.bz2
scummvm-rg350-d58dec471f3b087e211be6d8d560403590f49149.zip
Patch #1193398 (DESTDIR patch for Makefile)
svn-id: r17960
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 875b763c30..b0ce3c417c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,20 +44,20 @@ config.mak: $(srcdir)/configure
@exit 1
install: all
- $(INSTALL) -d "$(BINDIR)"
- $(INSTALL) -c -s -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(BINDIR)/scummvm$(EXEEXT)"
- $(INSTALL) -d "$(MANDIR)/man6/"
- $(INSTALL) -c -m 644 "$(srcdir)/scummvm.6" "$(MANDIR)/man6/scummvm.6"
- $(INSTALL) -d "$(PREFIX)/share/pixmaps/"
- $(INSTALL) -c -m 644 "$(srcdir)/scummvm.xpm" "$(PREFIX)/share/pixmaps/scummvm.xpm"
- $(INSTALL) -d "$(PREFIX)/share/doc/scummvm/"
- $(INSTALL) -c -m 644 "$(srcdir)/AUTHORS" "$(srcdir)/COPYING" "$(srcdir)/NEWS" "$(srcdir)/README" "$(PREFIX)/share/doc/scummvm/"
+ $(INSTALL) -d "$(DESTDIR)$(BINDIR)"
+ $(INSTALL) -c -s -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)"
+ $(INSTALL) -d "$(DESTDIR)$(MANDIR)/man6/"
+ $(INSTALL) -c -m 644 "$(srcdir)/scummvm.6" "$(DESTDIR)$(MANDIR)/man6/scummvm.6"
+ $(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/pixmaps/"
+ $(INSTALL) -c -m 644 "$(srcdir)/scummvm.xpm" "$(DESTDIR)$(PREFIX)/share/pixmaps/scummvm.xpm"
+ $(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/doc/scummvm/"
+ $(INSTALL) -c -m 644 "$(srcdir)/AUTHORS" "$(srcdir)/COPYING" "$(srcdir)/NEWS" "$(srcdir)/README" "$(DESTDIR)$(PREFIX)/share/doc/scummvm/"
uninstall:
- rm -f "$(BINDIR)/scummvm$(EXEEXT)"
- rm -f "$(MANDIR)/man6/scummvm.6"
- rm -f "$(PREFIX)/share/pixmaps/scummvm.xpm"
- rm -rf "$(PREFIX)/share/doc/scummvm/"
+ rm -f "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)"
+ rm -f "$(DESTDIR)$(MANDIR)/man6/scummvm.6"
+ rm -f "$(DESTDIR)$(PREFIX)/share/pixmaps/scummvm.xpm"
+ rm -rf "$(DESTDIR)$(PREFIX)/share/doc/scummvm/"
scummvmico.o: scummvm.ico
windres scummvm.rc scummvmico.o