aboutgitcode
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
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