chiark / gitweb /
sort out Closes: in changelog; changelog entry for DEB_BUILD_OPTIONS=nostrip
[authbind.git] / Makefile
index c034d2fc938a81bdeb78542fc22d779429856fe0..ac988af2b9a2c177d2375150d789b7cb529745cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,10 @@ man8_dir=$(man_dir)/man8
 
 etc_dir=/etc/authbind
 
 
 etc_dir=/etc/authbind
 
-INSTALL_FILE=install -o root -g root -m 644 
-INSTALL_PROGRAM=install -o root -g root -m 755 -s
-INSTALL_DIR=install -o root -g root -m 755 -d 
+INSTALL_FILE   ?= install -o root -g root -m 644 
+INSTALL_PROGRAM ?= install -o root -g root -m 755 -s
+INSTALL_DIR    ?= install -o root -g root -m 755 -d
+STRIP          ?= strip
 
 OPTIMISE=      -O2
 LDFLAGS=       -g
 
 OPTIMISE=      -O2
 LDFLAGS=       -g
@@ -63,7 +64,7 @@ install:              $(TARGETS)
                $(INSTALL_DIR) $(lib_dir) $(man1_dir) $(man8_dir)
                $(INSTALL_PROGRAM) $(BINTARGETS) $(bin_dir)/.
                $(INSTALL_FILE) $(LIBTARGET) $(lib_dir)/.
                $(INSTALL_DIR) $(lib_dir) $(man1_dir) $(man8_dir)
                $(INSTALL_PROGRAM) $(BINTARGETS) $(bin_dir)/.
                $(INSTALL_FILE) $(LIBTARGET) $(lib_dir)/.
-               strip --strip-unneeded $(lib_dir)/$(LIBTARGET)
+               $(STRIP) --strip-unneeded $(lib_dir)/$(LIBTARGET)
                ln -sf $(LIBTARGET) $(lib_dir)/$(LIBCANON)
                $(INSTALL_PROGRAM) $(HELPER) $(libexec_dir)/.
                chmod u+s $(libexec_dir)/$(HELPER)
                ln -sf $(LIBTARGET) $(lib_dir)/$(LIBCANON)
                $(INSTALL_PROGRAM) $(HELPER) $(libexec_dir)/.
                chmod u+s $(libexec_dir)/$(HELPER)