File: Makefile

package info (click to toggle)
lyx 1.1.6fix4-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 26,136 kB
  • ctags: 13,679
  • sloc: cpp: 93,591; sh: 9,563; ansic: 8,253; perl: 3,489; makefile: 1,332; tcl: 163; sed: 150; python: 112; yacc: 38
file content (22 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile for LyX docs

# 'make' will automatically run make depend, which creates Makefile.depend
# and then use that Makefile.depend to make TOCs, which creates *TOC.lyx


DEPENDFILE = Makefile.depend

# TODO can we instead just #include the DEPENDFILE in this Makefile? 
# problem with this is that the DEPENDFILE that's included won't be the updated
# one. JMarc should know how to handle this.

TOCs: depend
	make -f $(DEPENDFILE) TOCs

depend:
	perl Depend.pl > $(DEPENDFILE)

clean:
	rm -f *TOC.lyx $(DEPENDFILE)

.PHONY: depend clean