* INSTALLFLAGS added with default value -s(strip).

* For debug do: CFLAGS=-g INSTALLFLAGS= ./configure
This commit is contained in:
Olof hagsand 2018-04-30 12:06:19 +02:00
parent 1ac57dedaf
commit 7532fdde77
15 changed files with 63 additions and 41 deletions

View file

@ -44,7 +44,8 @@ libexecdir = @libexecdir@
localstatedir = @localstatedir@
sysconfdir = @sysconfdir@
CC = @CC@
CFLAGS = @CFLAGS@
CFLAGS = @CFLAGS@
INSTALLFLAGS = @INSTALLFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
with_restconf = @with_restconf@
@ -102,7 +103,7 @@ install-include:
install: $(APPL)
install -d -m 0755 $(DESTDIR)$(bindir)
install -m 0755 -s $(APPL) $(DESTDIR)$(bindir)
install -m 0755 $(INSTALLFLAGS) $(APPL) $(DESTDIR)$(bindir)
for i in $(SUBDIRS); \
do (cd $$i && $(MAKE) $(MFLAGS) $@)||exit 1; done