aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-20 08:21:35 +0000
committermerakor <cem@ckyln.com>2020-12-20 08:21:35 +0000
commit85c93b694963039359d75174a23c1aaa912cdcb3 (patch)
treea86c1ce15ad93dde4e51d927deca7953076e9fa7 /Makefile
parent707b6cd4aaa6990349c6693fe2dff140b74370d5 (diff)
downloadcpt-85c93b694963039359d75174a23c1aaa912cdcb3.tar.gz
docs: add new documentation for cpt
FossilOrigin-Name: 40a002bfab4194969ad59f76b04d52473ca3d64d56f97dd30989b73ac774f9f7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3b2529b..4e0880d 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,15 @@ SRC = bin/cpt-readlink.c bin/cpt-stat.c
OBJ = ${SRC:.c=.o}
BIN = ${SRC:.c=}
+.SUFFIXES:
+.SUFFIXES: .o .c .org .texi .info
+
+.org.texi:
+ ${EMACS} $< --batch -f org-texinfo-export-to-texinfo
+
+.texi.info:
+ ${MAKEINFO} $< -o $@
+
all: ${BIN}
.c: