File: Makefile.in

package info (click to toggle)
roleplaying 2.0-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 16,620 kB
  • ctags: 1,039
  • sloc: tcl: 7,155; cpp: 2,709; ansic: 2,227; makefile: 559; sh: 330; csh: 3
file content (126 lines) | stat: -rw-r--r-- 4,340 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#* 
#* ------------------------------------------------------------------
#* Role PlayingDB V2.0 by Deepwoods Software
#* ------------------------------------------------------------------
#* Makefile.in - Makefile input
#* Created by Robert Heller on Tue Jul 13 18:32:00 1999
#* ------------------------------------------------------------------
#* Modification History: 
#* $Log$
#* ------------------------------------------------------------------
#* Contents:
#* ------------------------------------------------------------------
#*  
#*     Role Playing DB -- A database package that creates and maintains
#* 		       a database of RPG characters, monsters, treasures,
#* 		       spells, and playing environments.
#* 
#*     Copyright (C) 1995,1998,1999  Robert Heller D/B/A Deepwoods Software
#* 			51 Locke Hill Road
#* 			Wendell, MA 01379-9728
#* 
#*     This program is free software; you can redistribute it and/or modify
#*     it under the terms of the GNU General Public License as published by
#*     the Free Software Foundation; either version 2 of the License, or
#*     (at your option) any later version.
#* 
#*     This program is distributed in the hope that it will be useful,
#*     but WITHOUT ANY WARRANTY; without even the implied warranty of
#*     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#*     GNU General Public License for more details.
#* 
#*     You should have received a copy of the GNU General Public License
#*     along with this program; if not, write to the Free Software
#*     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#* 
#*  
#* 
prefix     = @prefix@
exec_prefix= @exec_prefix@
RPG_LIB = $(prefix)/lib/RolePlaying-2.0/Scripts
BIN_DIR        = $(exec_prefix)/bin
LIB_DIR        = $(exec_prefix)/lib
INCLUDE_DIR    = $(prefix)/include/RolePlaying-2.0
HELP_DIR       = $(prefix)/lib/RolePlaying-2.0/Help
DOC_DIR        = $(prefix)/share/doc/roleplaying
INSTALL         = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA    = @INSTALL_DATA@
LATEX		= @LATEX@
DVIPS		= @DVIPS@
DVIDVI		= @DVIDVI@
PS2PDF		= @PS2PDF@
MAKEINDEX	= @MAKEINDEX@
BIBTEX		= @BIBTEX@
SUFFIXES	= .sty
DVIPSFLAGS	=
ODDPAGES = 2:0
EVENPAGES = 2:-1

USERMAN		= RPG_UserManual
USERMAN_Chapter_Texs = titlepage.tex IntroUserManual.tex Preface.tex \
	Common.tex Main.tex Character.tex Monster.tex Spell.tex Dressing.tex \
	TrickTrap.tex Treasure.tex Map.tex Space.tex DataFormats.tex \
	License.tex Registration.tex RegForm.tex
USERMAN_StyleFiles = MyTitlepage.sty
BIBLIO = ../RPG.bib
FIGURES = ChRoll.ps Character.ps CreateMap.ps CreateSpace.ps Dressing.ps \
	  EditMenu.ps FileMenu.ps HelpMenu.ps Main.ps Map.ps MenuBar.ps \
	  Monster.ps NewExit.ps NewItem.ps Space.ps Spell.ps Treasure.ps \
	  TrickTrap.ps VisitExit.ps


%.pdf: %.ps
	$(PS2PDF) $< $@

all: $(USERMAN).ps

doubleOnSingle: $(USERMAN)_E.ps $(USERMAN)_O.ps

%.pdf: %.ps
	$(PS2PDF) $< $@

PDF: $(USERMAN).pdf

$(USERMAN)_E.ps : $(USERMAN)_E.dvi $(FIGURES)
	$(DVIPS) $(DVIPSFLAGS) $(USERMAN)_E.dvi -o $(USERMAN)_E.ps

$(USERMAN)_O.ps : $(USERMAN)_O.dvi $(FIGURES)
	$(DVIPS) $(DVIPSFLAGS) $(USERMAN)_O.dvi -o $(USERMAN)_O.ps

$(USERMAN)_E.dvi : $(USERMAN).dvi $(FIGURES)
	$(DVIDVI) $(EVENPAGES) $(USERMAN).dvi $(USERMAN)_E.dvi

$(USERMAN)_O.dvi : $(USERMAN).dvi $(FIGURES)
	$(DVIDVI) $(ODDPAGES) $(USERMAN).dvi $(USERMAN)_O.dvi

$(USERMAN).ps : $(USERMAN).dvi $(FIGURES)
	$(DVIPS) $(DVIPSFLAGS) $(USERMAN).dvi -o $(USERMAN).ps

$(USERMAN).dvi : $(USERMAN).tex $(USERMAN_Chapter_Texs) $(USERMAN_StyleFiles) \
	$(BIBLIO) $(FIGURES)
	$(LATEX) $(USERMAN).tex
	$(BIBTEX) $(USERMAN)
	echo '\begin{theindex}' > $(USERMAN).ind
	echo '\item Dummy, 0' >> $(USERMAN).ind
	echo '\end{theindex}' >> $(USERMAN).ind
	$(LATEX) $(USERMAN).tex
	$(MAKEINDEX) $(USERMAN).idx
	$(LATEX) $(USERMAN).tex

install: $(USERMAN).pdf $(USERMAN).ps
	$(INSTALL_DATA) $(USERMAN).pdf $(DOC_DIR)
	$(INSTALL_DATA) $(USERMAN).ps  $(DOC_DIR)


tarballfiles: $(USERMAN).pdf $(USERMAN).ps $(USERMAN).tex \
	$(USERMAN_Chapter_Texs) $(USERMAN_StyleFiles) Makefile.in \
	$(FIGURES)
	cp /dev/null .tarballfiles
	for i in $^; do echo $(TDIR)/$$i >>.tarballfiles; done


clean:
	rm -f $(USERMAN).dvi *.aux $(USERMAN).ind $(USERMAN).idx \
		$(USERMAN).ilg $(USERMAN).toc $(USERMAN).lof $(USERMAN).lot \
		$(USERMAN).log $(USERMAN).bbl $(USERMAN).blg $(USERMAN).pdf