File: Makefile.am

package info (click to toggle)
epix1 1.0.19-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,432 kB
  • ctags: 1,529
  • sloc: cpp: 8,250; sh: 4,716; lisp: 667; makefile: 229
file content (43 lines) | stat: -rw-r--r-- 1,078 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
# Makefile.am for ePiX v1.x "doc" directory
#

EPIXFLAGS = --no-defaults -I.. -L.. -lepix -v

%.eepic: %.xp
	../epix-local $(EPIXFLAGS) $<

XPS := $(wildcard *.xp)

EEPICS = $(XPS:.xp=.eepic)

CLEANFILES = *~ *.aux *.dvi *.log *.out *.idx *.ilg *.ind *.toc \
	  manual_src.tar manual.pdf manual.ps \
	  manual_src.tar.gz manual.pdf.gz manual.ps.gz manual-stamp

MAINTAINERCLEANFILES = *.eepic *.aux *.dvi *.log *.out *.toc *.idx *.ind *.ilg

## Targets ##
doc_DATA = manual.pdf.gz manual.ps.gz manual_src.tar.gz


# tar up tex, xp, and eepic files
manual-stamp: manual.tex $(XPS) $(EEPICS)
	latex -interaction=batchmode manual &>/dev/null
	latex -interaction=batchmode manual &>/dev/null
	makeindex manual.idx &>/dev/null
	touch manual-stamp

manual_src.tar.gz: manual-stamp
	tar -cf manual_src.tar manual.aux manual.ind manual.tex manual.toc \
	   $(XPS) $(EEPICS)
	gzip -9 manual_src.tar

#PS
manual.ps.gz: manual-stamp
	../laps-local manual.tex
	gzip -9 manual.ps

#PDF; no point compressing it
manual.pdf.gz: manual-stamp
	../laps-local --pdf manual.tex
	gzip -9 manual.pdf