summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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