From 6c27ee1c5076b6ba47e134e30e38ac73d0164e7e Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 28 Apr 2022 14:52:17 +0200 Subject: mbuto: Add Makefile to install/uninstall Signed-off-by: Stefano Brivio --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..abaf022 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# mbuto: Minimal Builder Using Terse Options +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# Copyright (c) 2022 Red Hat GmbH +# Author: Stefano Brivio + +all: + +prefix ?= /usr/local + +install: mbuto + mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/share/man/man1 + cp -d mbuto $(DESTDIR)$(prefix)/bin + cp -d mbuto.1 $(DESTDIR)$(prefix)/share/man/man1 + +uninstall: + -${RM} $(DESTDIR)$(prefix)/bin/mbuto + -${RM} $(DESTDIR)$(prefix)/share/man/man1/mbuto.1 -- cgit v1.2.3