diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-04-28 14:52:17 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-29 14:26:24 +0200 |
commit | 6c27ee1c5076b6ba47e134e30e38ac73d0164e7e (patch) | |
tree | 9ca79cf36cd82b550f3e0cdb00682c6259c25150 /Makefile | |
parent | 845cac975478b76c177b0f23088b7b7d61fee88d (diff) | |
download | mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar.gz mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar.bz2 mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar.lz mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar.xz mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.tar.zst mbuto-6c27ee1c5076b6ba47e134e30e38ac73d0164e7e.zip |
mbuto: Add Makefile to install/uninstall
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
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 <sbrivio@redhat.com> + +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 |