From d1bead671d124209e140c22d956893eb632bd109 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 16 Mar 2015 22:43:56 +0200 Subject: [PATCH 1/1] Another bunch of fixes related to BSD-like install. --- projects/stargazer/plugins/Makefile.in | 4 ++-- stglibs/Makefile.in | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/projects/stargazer/plugins/Makefile.in b/projects/stargazer/plugins/Makefile.in index e1ced728..36aebbef 100644 --- a/projects/stargazer/plugins/Makefile.in +++ b/projects/stargazer/plugins/Makefile.in @@ -34,9 +34,9 @@ clean: install: $(PROG) mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg ifeq ($(DEBUG), yes) - install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) else - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) + install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) endif uninstall: diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index b5d1195c..11dfcfb1 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -36,9 +36,11 @@ clean: install: $(PROG) ifeq ($(DEBUG), yes) - install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) else - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg + install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) endif mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg install -m $(DATA_MODE) -o $(OWNER) $(addprefix include/stg/,$(INCS)) $(PREFIX)/usr/include/stg/ -- 2.44.2