Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ install-ssl-daemon: stunnel-rsyncd.conf
install-all: install install-ssl-daemon

install-strip:
$(MAKE) INSTALL_STRIP='-s' install
$(MAKE) INSTALL_STRIP='-s --strip-program=$(or $(STRIP),strip)' install

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes GNU Make through $(or ...) and GNU install through --strip-program while AC_PROG_INSTALL may select the bundled install-sh. Please detect/substitute the target STRIP and implement this portably, for example by installing normally then invoking $(STRIP) on the installed rsync binary.

This also needs native and cross-strip tests which I am happy to contribute if wanted.


.PHONY: uninstall
uninstall:
Expand Down