aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
blob: 3a7dbf0e18b5f79bd0be4fd72bda19565baff1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Carbs Packaging Tools Documentation
-include ../config.mk
INSTALL_SH = ../tools/install.sh

all: cpt.txt cpt.texi cpt.info

.SUFFIXES: .info .texi .org .txt
.org.texi:
	rm -f $@
	${EMACS} $< --batch -f org-texinfo-export-to-texinfo

.texi.info:
	${MAKEINFO} $< -o $@

.org.txt:
	rm -f $@
	${EMACS} $< --batch -f org-ascii-export-to-ascii

clean:
	rm -f cpt.info

all-clean: clean
	rm -f cpt.texi cpt.txt

.PHONY: all clean all-clean install uninstall