diff options
author | D G Turner | 2012-11-13 19:52:52 +0000 |
---|---|---|
committer | D G Turner | 2012-11-13 19:52:52 +0000 |
commit | 05d97f33ecc9b2375bd5b7410458510c598da7a2 (patch) | |
tree | e3899efc76ad56173fa7487a485e0869c445134b | |
parent | 43520ce4f38c632eb438c6cada9224dad90e8621 (diff) | |
download | scummvm-rg350-05d97f33ecc9b2375bd5b7410458510c598da7a2.tar.gz scummvm-rg350-05d97f33ecc9b2375bd5b7410458510c598da7a2.tar.bz2 scummvm-rg350-05d97f33ecc9b2375bd5b7410458510c598da7a2.zip |
BUILD: Remove stripping of executables on "make install".
This is now standard behaviour, and the current situation creates
problems for distribution packagers trying to generate debug packages.
A standard "install-strip" target has been added to enable the previous
behaviour if needed.
-rw-r--r-- | ports.mk | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -2,12 +2,27 @@ # included by the default (main) Makefile. # - # # POSIX specific # install: $(INSTALL) -d "$(DESTDIR)$(bindir)" + $(INSTALL) -c -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(bindir)/$(EXECUTABLE)" + $(INSTALL) -d "$(DESTDIR)$(mandir)/man6/" + $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(mandir)/man6/scummvm.6" + $(INSTALL) -d "$(DESTDIR)$(datarootdir)/pixmaps/" + $(INSTALL) -c -m 644 "$(srcdir)/icons/scummvm.xpm" "$(DESTDIR)$(datarootdir)/pixmaps/scummvm.xpm" + $(INSTALL) -d "$(DESTDIR)$(docdir)" + $(INSTALL) -c -m 644 $(DIST_FILES_DOCS) "$(DESTDIR)$(docdir)" + $(INSTALL) -d "$(DESTDIR)$(datadir)" + $(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(datadir)/" +ifdef DYNAMIC_MODULES + $(INSTALL) -d "$(DESTDIR)$(libdir)/scummvm/" + $(INSTALL) -c -m 644 $(PLUGINS) "$(DESTDIR)$(libdir)/scummvm/" +endif + +install-strip: + $(INSTALL) -d "$(DESTDIR)$(bindir)" $(INSTALL) -c -s -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(bindir)/$(EXECUTABLE)" $(INSTALL) -d "$(DESTDIR)$(mandir)/man6/" $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(mandir)/man6/scummvm.6" |