X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7e0f07b593a81c4f1bf0101cdc66968ae40462fb..452637bc90525a9a5b412ab99793006cf14c1e31:/projects/sgconf/Makefile?ds=inline diff --git a/projects/sgconf/Makefile b/projects/sgconf/Makefile index be513439..280b40be 100644 --- a/projects/sgconf/Makefile +++ b/projects/sgconf/Makefile @@ -23,9 +23,7 @@ ifeq ($(OS),linux) else LIBS += -lc \ -liconv -D_FLAG = -D else -D_FLAG = -d endif SEARCH_DIRS = -I ../../include @@ -74,9 +72,11 @@ install: install-bin 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