diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-30 14:26:35 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-30 14:26:35 +0000 |
commit | 27e3edb07ad5ca590aaaf5753de33328aa999104 (patch) | |
tree | 2e38274a802071fc1f9f0de29d535da77ad9e4a1 /Makefile | |
parent | dbd92f86edc140542b96e81938cbfd973ec08031 (diff) | |
download | mpv-27e3edb07ad5ca590aaaf5753de33328aa999104.tar.bz2 mpv-27e3edb07ad5ca590aaaf5753de33328aa999104.tar.xz |
avoids stripping the binary at install if debugging or profiling is enabled
(original patch by Balazs Tibor <tibcu@sch.bme.hu> - edited for simplicity)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6241 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -11,6 +11,12 @@ PRG_FIBMAP = fibmap_mplayer PRG_CFG = codec-cfg PRG_MENCODER = mencoder +# Do not strip the binaries at installation +ifeq ($(STRIPBINARIES),yes) +INSTALLSTRIP = -s +endif + + # these subdirectories required installation due binaries within them ifeq ($(VIDIX),yes) SUBDIRS += libdha vidix @@ -221,14 +227,14 @@ ifeq ($(VIDIX),yes) $(DO_MAKE) endif if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi - $(INSTALL) -m 755 -s $(PRG) $(BINDIR)/$(PRG) + $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG) ifeq ($(GUI),yes) -ln -sf $(PRG) $(BINDIR)/gmplayer endif if test ! -d $(MANDIR)/man1 ; then mkdir -p $(MANDIR)/man1; fi $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 ifeq ($(MENCODER),yes) - $(INSTALL) -m 755 -s $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) + $(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) -ln -sf mplayer.1 $(MANDIR)/man1/mencoder.1 endif @if test ! -d $(DATADIR) ; then mkdir -p $(DATADIR) ; fi @@ -249,7 +255,7 @@ endif ifeq ($(DVDKIT),yes) ifeq ($(DVDKIT_SHARED),yes) if test ! -d $(LIBDIR) ; then mkdir -p $(LIBDIR) ; fi - $(INSTALL) -m 755 -s libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so + $(INSTALL) -m 755 $(INSTALLSTRIP) libmpdvdkit/libmpdvdkit.so $(LIBDIR)/libmpdvdkit.so endif endif ifeq ($(CSS_USE),yes) @@ -257,7 +263,7 @@ ifeq ($(CSS_USE),yes) @echo "however it means you can't use fibmap_mplayer." @echo "Without this (or without running mplayer as root) you won't be" @echo "able to play encrypted DVDs." - -$(INSTALL) -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP) + -$(INSTALL) -o 0 -g 0 -m 4755 $(INSTALLSTRIP) $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP) endif uninstall: |