aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Gray2004-04-17 03:32:03 +0000
committerJonathan Gray2004-04-17 03:32:03 +0000
commit1ee83cdeadddd84ab8b12e2cb296659172f790a3 (patch)
tree23a189e17574c8a5fed429593c18216e0984f7b6 /Makefile
parent40afd9b56620491c72ad1a04323b4144b0350a70 (diff)
downloadscummvm-rg350-1ee83cdeadddd84ab8b12e2cb296659172f790a3.tar.gz
scummvm-rg350-1ee83cdeadddd84ab8b12e2cb296659172f790a3.tar.bz2
scummvm-rg350-1ee83cdeadddd84ab8b12e2cb296659172f790a3.zip
2nd pass at install/uninstall targets
svn-id: r13592
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0346d1e3a8..1d41e17d4d 100644
--- a/Makefile
+++ b/Makefile
@@ -56,12 +56,20 @@ config.mak: $(srcdir)/configure
@exit 1
install: all
- $(INSTALL) -m 755 scummvm$(EXEEXT) $(BINDIR)/scummvm$(EXEEXT)
- $(INSTALL) -m 644 scummvm.6 $(MANDIR)/man6/scummvm.6
+ $(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)/README" "$(srcdir)/NEWS" "$(srcdir)/COPYING" "$(PREFIX)/share/doc/scummvm/"
uninstall:
- rm -f $(BINDIR)/scummvm$(EXEEXT)
- rm -f $(MANDIR)/man6/scummvm.6
+ rm -f "$(BINDIR)/scummvm$(EXEEXT)"
+ rm -f "$(MANDIR)/man6/scummvm.6"
+ rm -f "$(PREFIX)/share/pixmaps/scummvm.xpm"
+ rm -rf "$(PREFIX)/share/doc/scummvm/"
scummvmico.o: scummvm.ico
windres scummvm.rc scummvmico.o