X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e82ec777fc54a172b8009125a65675080f24ce68..517400b7934a39872ffa02370ac7aa1264bec114:/projects/rscriptd/Makefile?ds=inline diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index 0912be08..da06b50b 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -57,7 +57,11 @@ distclean: clean install: install-bin install-data install-bin: - install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG) +ifeq ($(DEBUG), yes) + install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG) +else + install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG) +endif $(MAKE) -C $(DIR_LIBSRC) install install-data: