aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Gray2004-04-16 08:30:57 +0000
committerJonathan Gray2004-04-16 08:30:57 +0000
commit45dd6a4ae6633c2d6b85b686cd66de5793a0608d (patch)
tree04b6da8a135ca849a8b080ce292fc7ec5fddd21c /Makefile
parentc8e331e9b45935d72cf3f5180637ca5f2148cb21 (diff)
downloadscummvm-rg350-45dd6a4ae6633c2d6b85b686cd66de5793a0608d.tar.gz
scummvm-rg350-45dd6a4ae6633c2d6b85b686cd66de5793a0608d.tar.bz2
scummvm-rg350-45dd6a4ae6633c2d6b85b686cd66de5793a0608d.zip
initial pass at adding install/uninstall support to configure script, also use DIR instead of PFX while here for consistency with autoconf like output
svn-id: r13585
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1bdaa1ff2e..9ce3f420d4 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,14 @@ config.mak: $(srcdir)/configure
@echo "Either you haven't run it before or it has changed."
@exit 1
+install: all
+ $(INSTALL) -m 755 scummvm$(EXEEXT) $(BINDIR)/scummvm$(EXEEXT)
+ $(INSTALL) -m 644 scummvm.6 $(MANDIR)/man6/scummvm.6
+
+uninstall:
+ rm -f $(BINDIR)/scummvm$(EXEEXT)
+ rm -f $(MANDIR)/man6/scummvm.6
+
scummvmico.o: scummvm.ico
windres scummvm.rc scummvmico.o