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