File: Makefile.am

package info (click to toggle)
gnomehack 1.0.5-1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 10,256 kB
  • ctags: 12,966
  • sloc: ansic: 119,783; yacc: 2,002; sh: 610; lex: 417; makefile: 397
file content (40 lines) | stat: -rw-r--r-- 1,356 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


man_MANS = dgn_comp_gnomehack.6 lev_comp_gnomehack.6 gnomehack.6 recover_gnomehack.6

docdir = @DOC_DIR@
doc_DATA = Guidebook

EXTRA_DIST = Guidebook.mn Guidebook.tex Porting tmac.n window.doc \
    dgn_comp_gnomehack.6 lev_comp_gnomehack.6 recover_gnomehack.6 gnomehack.6

GUIDEBOOK = Guidebook		# regular ASCII file
#GUIDEBOOK = Guidebook.ps	# PostScript file
#GUIDEBOOK = Guidebook.dvi	# TeX device-independent file

# Some versions of col need -x to keep them from converting spaces to tabs;
# some versions of col don't do the conversion by default and don't
# recognize the option.  Sigh.
COLCMD = @COL@ -bx
#COLCMD = col -b

# Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed
# GUIDECMD = cat Guidebook.txt
GUIDECMD = @TBL@ tmac.n Guidebook.mn | @NROFF@ | $(COLCMD)

# the basic guidebook
Guidebook:	Guidebook.mn
	$(GUIDECMD) > Guidebook
Guidebook.txt:	Guidebook.mn
	$(GUIDECMD) > Guidebook.txt

# Fancier output for those with ditroff, psdit and a PostScript printer.
Guidebook.ps:	Guidebook.mn
	@TBL@ tmac.n Guidebook.mn | @DITROFF@ | @PSDIT@ > Guidebook.ps

# Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX.
# - The invocation command for LaTeX may vary in different installations.
# - To print Guidebook.dvi you need to use a suitable dvi-driver.
Guidebook.dvi:	Guidebook.tex
	@LATEX@ Guidebook.tex