X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b95edc0574dc2ebc65b197b1b1ad464821dfe519..04711171fa39f7b76f5f4f291a016ddbe4ddcccd:/projects/sgauth/Makefile?ds=inline diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index 99cd0e47..a59371c9 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -58,7 +58,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: