summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-12-21 23:14:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-12-21 23:14:57 +0100
commit9baa39e871c2ed9934e3e1c381f3f38927346bf6 (patch)
treea2eb3d2943719a70242d27b133c39e1dcb8ee088 /Makefile
Genesis commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b89064d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.POSIX:
+
+PREFIX = /usr/local
+DPREFIX = ${DESTDIR}${PREFIX}
+MANDIR = ${DPREFIX}/share/man
+
+GDIR = /usr/share/groff/site-tmac
+DGDIR = ${DESTDIR}${GDIR}
+
+install:
+ mkdir -p ${DPREFIX}/include ${DGDIR}
+ cp src/gehashmap.h ${DPREFIX}/include
+ #cp man/*.3 ${MANDIR}/man3
+ #cp man/*.3head ${MANDIR}/man3head
+ #sed '/^\.ds doc-str-Lb-liblux/d' ${GDIR}/mdoc.local >${DGDIR}/mdoc.local
+ #grep -v '^\.\\"' man/Lb-desc.tmac >>${DGDIR}/mdoc.local