git-repo

Tools for sharing git bare repositories
git clone git://git.meso-star.fr/git-repo.git
Log | Files | Refs | README | LICENSE

commit 2c5dd145cc0bef7948c32dee84712a8606ef4431
parent 69c6052c783bca20094e8a22ff55135942595b4c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 26 May 2025 18:59:55 +0200

Update uninstall commands

Double-quote path protection to manage spaces in installation
directories. Use the BINPREFIX macro instead of hard-coding the binary
installation directory.

Diffstat:
MMakefile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -36,10 +36,10 @@ install: install 644 "$(DESTDIR)$(MANPREFIX)/man1" git-publish.1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/git-publish - rm -f $(DESTDIR)$(PREFIX)/bin/git-repo - rm -f $(DESTDIR)$(MANPREFIX)/man1/git-repo.1 - rm -f $(DESTDIR)$(MANPREFIX)/man1/git-publish.1 + rm -f "$(DESTDIR)$(BINPREFIX)/git-publish" + rm -f "$(DESTDIR)$(BINPREFIX)/git-repo" + rm -f "$(DESTDIR)$(MANPREFIX)/man1/git-repo.1" + rm -f "$(DESTDIR)$(MANPREFIX)/man1/git-publish.1" lint: shellcheck -o all git-publish