X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=authbind.git;a=blobdiff_plain;f=Makefile;h=c1eed73edda96b2e516b51377ec94bc963911dc9;hp=c034d2fc938a81bdeb78542fc22d779429856fe0;hb=5ea5146c77528ffca1aa188ef2d62a4ba7f0c721;hpb=59d14c88d280ffc962ee93e535ae87567316c544 diff --git a/Makefile b/Makefile index c034d2f..c1eed73 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,6 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# $Id$ prefix=/usr/local @@ -31,9 +29,10 @@ man8_dir=$(man_dir)/man8 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 @@ -63,7 +62,7 @@ install: $(TARGETS) $(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)