Add install-strip target to the makefile
Originally committed to SVN as r6200.
This commit is contained in:
parent
3d906ded47
commit
5702dd60a1
1 changed files with 5 additions and 2 deletions
|
@ -69,16 +69,19 @@ endif
|
||||||
|
|
||||||
install: $(SUBDIRS) install-share install-program install-lib
|
install: $(SUBDIRS) install-share install-program install-lib
|
||||||
|
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) BIN_SINSTALL='$(BIN_INSTALL) -s' install
|
||||||
|
|
||||||
install-program:
|
install-program:
|
||||||
ifdef PROGRAM_INSTALL
|
ifdef PROGRAM_INSTALL
|
||||||
@$(BIN_MKDIR) -p $(DESTDIR)$(P_BINDIR)
|
@$(BIN_MKDIR) -p $(DESTDIR)$(P_BINDIR)
|
||||||
@$(BIN_INSTALL) $(PROGRAM) $(DESTDIR)$(P_BINDIR)/$(PROGRAM)
|
@${BIN_SINSTALL:-$BIN_INSTALL} $(PROGRAM) $(DESTDIR)$(P_BINDIR)/$(PROGRAM)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-lib:
|
install-lib:
|
||||||
ifdef LIB_SHARED_INSTALL
|
ifdef LIB_SHARED_INSTALL
|
||||||
$(BIN_MKDIR) -p $(DESTDIR)$(P_LIB)
|
$(BIN_MKDIR) -p $(DESTDIR)$(P_LIB)
|
||||||
$(BIN_INSTALL) $(LIB_SHARED_FULL) $(DESTDIR)$(P_LIB)/$(LIB_SHARED_FULL)
|
${BIN_SINSTALL:-$BIN_INSTALL} $(LIB_SHARED_FULL) $(DESTDIR)$(P_LIB)/$(LIB_SHARED_FULL)
|
||||||
$(BIN_LN) -sf $(LIB_SHARED_FULL) $(DESTDIR)$(P_LIB)/$(LIB_SHARED)
|
$(BIN_LN) -sf $(LIB_SHARED_FULL) $(DESTDIR)$(P_LIB)/$(LIB_SHARED)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue