logo

utils-extra

Collection of extra tools for Unixes
commit: 7b1637e4c7185190764d511c17dd034d789bbe4b
parent 74b86894a5d49204a9357f39089f1e73234f2951
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 26 Sep 2023 23:28:08 +0200

Makefile: fix install

Diffstat:

MMakefile11++---------
1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -19,7 +19,7 @@ check: all .PHONY: lint lint: - $(SHELLCHECK) ./configure test_all.sh test_functions.sh ./sh/* + $(SHELLCHECK) ./configure test_functions.sh SHELLCHECK=${SHELLCHECK} ./test-cmd/shellcheck ${FLAWFINDER} --error-level=4 . $(MANDOC) -Tlint -Wunsupp,error,warning $(MAN1) @@ -29,14 +29,7 @@ clean: rm -fr $(EXE) rm -fr ${EXE:=.c.gcov} ${EXE:=.gcda} ${EXE:=.gcno} -install: script-install cmd-install - -script-install: - mkdir -p $(DESTDIR)$(SHELLDIR)/ $(DESTDIR)$(PERLDIR)/ - cp -r sh/* $(DESTDIR)$(SHELLDIR)/ - cp -r perl/* $(DESTDIR)$(PERLDIR)/ - -cmd-install: +install: all mkdir -p ${DESTDIR}${BINDIR}/ cp -p ${EXE} ${DESTDIR}${BINDIR}/ chown 0:0 ${DESTDIR}${BINDIR}/memsys