[xml/sgml-commit] [linuxdoc-tools] 12/17: Makefile.in: Better use $(INSTALL_SCRIPT) to install linuxdoc perl script.

Agustín Martín Domingo agmartin at moszumanska.debian.org
Wed May 4 17:56:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.

commit cfe414eeb3ded64896d53d3243d081bc79be4ff1
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Wed May 4 18:21:35 2016 +0200

    Makefile.in: Better use $(INSTALL_SCRIPT) to install linuxdoc perl script.
    
    Signed-off-by: Agustin Martin Domingo <agmartin at debian.org>
---
 Makefile.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 8dd0710..2a03945 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -23,6 +23,7 @@ man1dir            = $(mandir)/man1
 INSTALL            = @INSTALL@
 INSTALL_PROGRAM    = @INSTALL_PROGRAM@ -m 755
 INSTALL_DATA       = @INSTALL_DATA@
+INSTALL_SCRIPT     = @INSTALL_SCRIPT@
 
 # nsgmls or onsgmls should be installed already
 # BUILD_NSGMLS=@BUILD_NSGMLS@
@@ -95,7 +96,7 @@ ifneq ($(BUILDDOC_FORMATS),)
 endif
 
 install:: bin/linuxdoc
-	@echo "Installing binaries in $(bin_ddir) ..."
+	@echo "Installing binaries and scripts in $(bin_ddir) ..."
 	[ -d $(bin_ddir) ] || mkdir -m 755 -p $(bin_ddir)
 # nsgmls or onsgmls should be installed already
 # ifeq ($(BUILD_NSGMLS), true)
@@ -121,8 +122,9 @@ ifeq ($(BUILD_ISO_ENTITIES), true)
 	  $(MAKE) install  DESTDIR=$(DESTDIR))
 endif
 
-#    -- Install linuxdoc script
-	$(INSTALL) -m 0755 bin/linuxdoc $(bin_ddir)/linuxdoc
+#    -- Install linuxdoc script. Use $(INSTALL_SCRIPT) to prevent stripping.
+	@echo "Installing linuxdoc script ..."
+	$(INSTALL_SCRIPT) bin/linuxdoc $(bin_ddir)/linuxdoc
 
 #    -- Install auxiliary programs
 	mkdir -p $(auxbin_ddir)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git



More information about the debian-xml-sgml-commit mailing list