diff options
author | Jonathan Gray | 2004-04-17 03:32:03 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-04-17 03:32:03 +0000 |
commit | 1ee83cdeadddd84ab8b12e2cb296659172f790a3 (patch) | |
tree | 23a189e17574c8a5fed429593c18216e0984f7b6 /Makefile | |
parent | 40afd9b56620491c72ad1a04323b4144b0350a70 (diff) | |
download | scummvm-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-- | Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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 |