Last change
on this file since f4bf33e was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100644
|
File size:
843 bytes
|
Line | |
---|
1 | include ../config.mak |
---|
2 | |
---|
3 | all: utt.info utt.dvi utt.html utt.pdf utt.ps |
---|
4 | |
---|
5 | utt.info: utt.texinfo |
---|
6 | $(MAKEINFO) $< -o $@ |
---|
7 | |
---|
8 | utt.dvi: utt.texinfo |
---|
9 | $(TEXI2DVI) --build=clean $< -o $@ |
---|
10 | |
---|
11 | utt.html: utt.texinfo |
---|
12 | $(MAKEINFO) --html --no-split $< -o $@ |
---|
13 | |
---|
14 | utt.pdf: utt.texinfo |
---|
15 | $(TEXI2PDF) --build=clean $< -o $@ |
---|
16 | |
---|
17 | utt.ps: utt.dvi |
---|
18 | $(DVIPS) $< -o $@ |
---|
19 | |
---|
20 | .PHONY: install |
---|
21 | install: |
---|
22 | ifdef SHARE_DIR |
---|
23 | install -m 0644 utt.info $(SHARE_DIR)/info |
---|
24 | endif |
---|
25 | ifdef DOC_DIR |
---|
26 | install -m 0644 utt.dvi $(DOC_DIR) |
---|
27 | install -m 0644 utt.html $(DOC_DIR) |
---|
28 | install -m 0644 utt.pdf $(DOC_DIR) |
---|
29 | install -m 0644 utt.ps $(DOC_DIR) |
---|
30 | endif |
---|
31 | |
---|
32 | .PHONY: uninstall |
---|
33 | uninstall: |
---|
34 | ifdef SHARE_DIR |
---|
35 | rm $(SHARE_DIR)/info/utt.info |
---|
36 | endif |
---|
37 | ifdef DOC_DIR |
---|
38 | rm $(DOC_DIR)/utt.dvi |
---|
39 | rm $(DOC_DIR)/utt.html |
---|
40 | rm $(DOC_DIR)/utt.pdf |
---|
41 | rm $(DOC_DIR)/utt.ps |
---|
42 | endif |
---|
43 | |
---|
44 | clean: |
---|
45 | rm utt.info utt.dvi utt.html utt.pdf utt.ps || true |
---|
Note: See
TracBrowser
for help on using the repository browser.