mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
make: no longer create INSTALLDIR_MAN
Creating this is no longer necessary and might result in a permission error, which causes installation errors
This commit is contained in:
parent
57dc11e586
commit
6cfed3bd50
1 changed files with 0 additions and 8 deletions
|
@ -26,11 +26,6 @@ BINDIR ?= /bin
|
||||||
MANDIR ?= /man/man1
|
MANDIR ?= /man/man1
|
||||||
|
|
||||||
INSTALLDIR_BIN=$(DESTDIR)$(PREFIX)$(BINDIR)
|
INSTALLDIR_BIN=$(DESTDIR)$(PREFIX)$(BINDIR)
|
||||||
INSTALLDIR_MAN=$(DESTDIR)$(PREFIX)/share/$(MANDIR)
|
|
||||||
$(shell test -d $(INSTALLDIR_MAN))
|
|
||||||
ifneq ($(.SHELLSTATUS),0)
|
|
||||||
override INSTALLDIR_MAN=$(DESTDIR)$(PREFIX)$(MANDIR)
|
|
||||||
endif
|
|
||||||
|
|
||||||
#prefix to apply to coreutils binary and all tool binaries
|
#prefix to apply to coreutils binary and all tool binaries
|
||||||
PROG_PREFIX ?=
|
PROG_PREFIX ?=
|
||||||
|
@ -321,7 +316,6 @@ distclean: clean
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
mkdir -p $(INSTALLDIR_BIN)
|
mkdir -p $(INSTALLDIR_BIN)
|
||||||
mkdir -p $(INSTALLDIR_MAN)
|
|
||||||
ifeq (${MULTICALL}, y)
|
ifeq (${MULTICALL}, y)
|
||||||
$(INSTALL) $(BUILDDIR)/coreutils $(INSTALLDIR_BIN)/$(PROG_PREFIX)coreutils
|
$(INSTALL) $(BUILDDIR)/coreutils $(INSTALLDIR_BIN)/$(PROG_PREFIX)coreutils
|
||||||
cd $(INSTALLDIR_BIN) && $(foreach prog, $(filter-out coreutils, $(INSTALLEES)), \
|
cd $(INSTALLDIR_BIN) && $(foreach prog, $(filter-out coreutils, $(INSTALLEES)), \
|
||||||
|
@ -345,12 +339,10 @@ uninstall:
|
||||||
ifeq (${MULTICALL}, y)
|
ifeq (${MULTICALL}, y)
|
||||||
rm -f $(addprefix $(INSTALLDIR_BIN)/,$(PROG_PREFIX)coreutils)
|
rm -f $(addprefix $(INSTALLDIR_BIN)/,$(PROG_PREFIX)coreutils)
|
||||||
endif
|
endif
|
||||||
rm -f $(addprefix $(INSTALLDIR_MAN)/,$(PROG_PREFIX)coreutils.1.gz)
|
|
||||||
rm -f $(addprefix $(INSTALLDIR_BIN)/$(PROG_PREFIX),$(PROGS))
|
rm -f $(addprefix $(INSTALLDIR_BIN)/$(PROG_PREFIX),$(PROGS))
|
||||||
rm -f $(INSTALLDIR_BIN)/$(PROG_PREFIX)[
|
rm -f $(INSTALLDIR_BIN)/$(PROG_PREFIX)[
|
||||||
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_$(PROG_PREFIX),$(PROGS))
|
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_$(PROG_PREFIX),$(PROGS))
|
||||||
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/bash-completion/completions/$(PROG_PREFIX),$(PROGS))
|
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/bash-completion/completions/$(PROG_PREFIX),$(PROGS))
|
||||||
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/$(PROG_PREFIX),$(addsuffix .fish,$(PROGS)))
|
rm -f $(addprefix $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/$(PROG_PREFIX),$(addsuffix .fish,$(PROGS)))
|
||||||
rm -f $(addprefix $(INSTALLDIR_MAN)/$(PROG_PREFIX),$(addsuffix .1.gz,$(PROGS)))
|
|
||||||
|
|
||||||
.PHONY: all build build-coreutils build-pkgs test distclean clean busytest install uninstall
|
.PHONY: all build build-coreutils build-pkgs test distclean clean busytest install uninstall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue