X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ea169a2ed1db96a03b6e7ea907931bb640820208..1adb53e896797c73b5528ee178bd73ff51be2c43:/projects/sgconf/Makefile?ds=inline diff --git a/projects/sgconf/Makefile b/projects/sgconf/Makefile index 4d62bb53..297d3e20 100644 --- a/projects/sgconf/Makefile +++ b/projects/sgconf/Makefile @@ -66,7 +66,11 @@ distclean: clean install: install-bin 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/bin/$(PROG) +else + install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG) +endif $(MAKE) -C $(DIR_LIBSRC) install uninstall: uninstall-bin