summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-12-10 18:06:16 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-12-11 14:50:49 +0100
commit3221356d188e6b9971fccedabf83e8c78fe3de77 (patch)
treeda90a63321c9922a1243e5d5fd371916e2562b7e /Makefile
downloadctmg-1.1.tar.xz
ctmg-1.1.zip
Initial commit1.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..439426f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+PREFIX ?= /usr
+DESTDIR ?=
+BINDIR ?= $(PREFIX)/bin
+LIBDIR ?= $(PREFIX)/lib
+MANDIR ?= $(PREFIX)/share/man
+
+all:
+ @echo "Run \"sudo make install\" to install ctmg"
+
+install:
+ @install -v -d "$(DESTDIR)$(BINDIR)/" && install -v -m 0755 ctmg.sh "$(DESTDIR)$(BINDIR)/ctmg"
+