This was broken by one of the previous commits. The problem with
"install -s" is that it breaks when crossbuilding the package and it also
prevents creation of dbgsym package.
PREFIX ?= /usr/local
INSTALL ?= install
+INSTALL_BIN ?= install -s
all: sterm
install: all
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -s -m 755 sterm $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_BIN) -m 755 sterm $(DESTDIR)$(PREFIX)/bin
ifneq ($(NO_MAN),1)
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
$(INSTALL) -m 644 sterm.man $(DESTDIR)$(PREFIX)/share/man/man1/sterm.1
# Variables to pass to sterm Makefile
export PREFIX=/usr
export NO_MAN=1
-export INSTALL=install # Do not strip - this will be handled by dh_strip
+# Do not strip - this will be handled by dh_strip
+export INSTALL_BIN=install
# main packaging script based on dh7 syntax
%: