File: Imakefile

package info (click to toggle)
canna 3.5b2-46.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,044 kB
  • ctags: 7,975
  • sloc: ansic: 79,411; yacc: 403; lex: 379; cpp: 369; sh: 148; makefile: 73; awk: 7
file content (31 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (4)
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
26
27
28
29
30
31
/* $Id: Imakefile,v 1.4 1993/10/14 14:36:07 kon Exp $ */
#include "../../../../Canna.conf"

  CANNAROOT = ../../../..
  JLATEXCMD = latex
  DVI2PSCMD = dvi2ps

   SRCS = cannaindex.c

default: canna.dvi

AllTarget()

ConvertPathName(canna.tex,canna-dist.tex)
SingleProgramTarget(cannaindex,cannaindex.o,,)
DependTarget()

canna.dvi: canna.tex cannaindex
	echo 'DUMMY' > candex.tex
	$(JLATEXCMD) canna.tex
	./cannaindex canna.idx > candex.tex
	$(JLATEXCMD) canna.tex

canna.ps: canna.dvi
	$(DVI2PSCMD) canna.dvi > canna.ps

clean::
	-$(RM) *.aux *.idx *.lof *.log *.lot *.toc

clean::
	$(RM) canna.tex canna.dvi canna.ps candex.tex