X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2501ff5278198b17c195536d0953cbb40d1a5d3b..9a834ba2e0caea6edffec5c1db403cf9832ea96e:/projects/sgconf_xml/Makefile diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index b7ebca0a..b953bb52 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -66,7 +66,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/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 uninstall-data