From 1d83746618b4f5f396c122a23f4d64ffe56f4110 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 15 Apr 2023 16:58:12 +0200 Subject: Implemented script that copies git repositories in bulk --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..295812f --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +PREFIX?=/usr/local +BINDIR?=$(PREFIX)/bin +DATADIR?=$(PREFIX)/share +MANDIR?=$(DATADIR)/man/man1 + +all: mirror + +clean: + rm -f mirror + +install: + mkdir -p $(DESTDIR)$(BINDIR) + mkdir -p $(DESTDIR)$(MANDIR) + cp -f mirror $(DESTDIR)$(BINDIR)/mirror + cp -f mirror.1 $(DESTDIR)$(MANDIR)/mirror.1 + +uninstall: + rm -f $(DESTDIR)$(BINDIR)/mirror + rm -f $(DESTDIR)$(MANDIR)/mirror.1 + +.PHONY: all clean install uninstall -- cgit v1.1