Loading Makefile +2 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ LIBDIR = $(PREFIX)/lib BINDIR = $(PREFIX)/bin BINS = git-hooks LIBS = run-hooks LIBS = run-hooks string_functions arg_parse_functions cp = cp --preserve=mode,timestamps rm = rm --interactive=never Loading @@ -43,6 +43,7 @@ uninstall-bin: install-lib: $(LIBS) @mkdir -p "$(LIBDIR)/$(PACKAGE)" $(cp) $? "$(LIBDIR)/$(PACKAGE)" sed -i 's|LIBDIR=.*|LIBDIR=$(LIBDIR)/$(PACKAGE)|' $(BINS) uninstall-lib: $(rm) -r "$(LIBDIR)/$(PACKAGE)" Loading
Makefile +2 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ LIBDIR = $(PREFIX)/lib BINDIR = $(PREFIX)/bin BINS = git-hooks LIBS = run-hooks LIBS = run-hooks string_functions arg_parse_functions cp = cp --preserve=mode,timestamps rm = rm --interactive=never Loading @@ -43,6 +43,7 @@ uninstall-bin: install-lib: $(LIBS) @mkdir -p "$(LIBDIR)/$(PACKAGE)" $(cp) $? "$(LIBDIR)/$(PACKAGE)" sed -i 's|LIBDIR=.*|LIBDIR=$(LIBDIR)/$(PACKAGE)|' $(BINS) uninstall-lib: $(rm) -r "$(LIBDIR)/$(PACKAGE)"