X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d8f8acd14fef70c01de5f89b89f353a986c58330..452637bc90525a9a5b412ab99793006cf14c1e31:/projects/sgconf_xml/Makefile diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index ab53b752..df79bbdb 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -23,9 +23,7 @@ ifeq ($(OS),linux) else LIBS += -lc \ -liconv -D_FLAG = -D else -D_FLAG = -d endif SEARCH_DIRS = -I ../../include @@ -70,9 +68,11 @@ install: install-bin install-data install-bin: ifeq ($(DEBUG), yes) - install $(D_FLAG) -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/bin + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG) else - install $(D_FLAG) -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/bin + install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG) endif $(MAKE) -C $(DIR_LIBSRC) install