cmd-modeはMS-DOSのバッチファイル(拡張子が.bat)や、Windows NT コマンドスクリプトファイル(拡張子が.cmd)等を編集する為の、Emacsのメジャーモードです。
Revisión | bfaa776c6e3da0615e41dcb7e5222b5a343d4b5f (tree) |
---|---|
Tiempo | 2004-07-18 01:01:12 |
Autor | tfuruka1 <tfuruka1> |
Commiter | tfuruka1 |
とりあえず保存
@@ -1,26 +1,72 @@ | ||
1 | -# -*- mode: makefile; coding: sjis-dos; -*- | |
2 | -# Time-stamp: <2001-08-15 22:01:33 tfuruka1> | |
1 | +# -*- mode: makefile; coding: sjis-unix; -*- | |
2 | +# Time-stamp: <2001-09-04 22:54:58 tfuruka1> | |
3 | 3 | # |
4 | -# EBCDIC変換パッケージのmakefileです | |
4 | +# cmd-modeのmakefileです | |
5 | 5 | # |
6 | -# $Id: makefile,v 1.1 2001/08/15 13:01:45 tfuruka1 Exp $ | |
6 | +# $Id: makefile,v 1.2 2004/07/17 16:01:12 tfuruka1 Exp $ | |
7 | 7 | # $Log: makefile,v $ |
8 | +# Revision 1.2 2004/07/17 16:01:12 tfuruka1 | |
9 | +# とりあえず保存 | |
10 | +# | |
8 | 11 | # Revision 1.1 2001/08/15 13:01:45 tfuruka1 |
9 | 12 | # Initial revision |
10 | 13 | # |
11 | 14 | # |
15 | +SHELL=/bin/sh | |
16 | +EMACS=/usr/local/meadow/1.14/bin/meadowNT.exe | |
17 | +DIST=d:/ProgramFiles/Adobe/Acrobat4.0/Distillr/AcroDist.exe | |
18 | + | |
12 | 19 | BASENAME=cmd-mode |
13 | -TARGET = /usr/local/meadow/site-lisp/$(BASENAME).el | |
20 | +INFONAME=cmd.info | |
21 | + | |
22 | +TARGET=/usr/local/meadow/site-lisp/$(BASENAME).el | |
23 | +INFOTGT=/usr/local/meadow/site-info/$(INFONAME) | |
24 | + | |
14 | 25 | OBJ=$(BASENAME).el |
15 | 26 | GZFILE = $(BASENAME).tar.gz |
16 | 27 | |
28 | +install : $(TARGET) $(INFOTGT) $(BASENAME).pdf | |
29 | + | |
17 | 30 | $(TARGET) : $(OBJ) |
18 | 31 | rm -f $(TARGET) |
19 | - cp $(OBJ) $(TARGET) | |
32 | + cp $(OBJ) $@ | |
33 | + | |
34 | +$(INFOTGT) : $(INFONAME) | |
35 | + cp $(INFONAME) $@ | |
36 | + | |
37 | +$(INFONAME) : $(BASENAME).texinfo | |
38 | + $(EMACS) -batch $(BASENAME).texinfo -e texinfo-format-buffer \ | |
39 | + -e basic-save-buffer | |
40 | + | |
41 | +$(BASENAME).pdf : $(BASENAME).ps | |
42 | + $(DIST) $(PWD)/$(BASENAME).ps | |
43 | + | |
44 | +$(BASENAME).ps : $(BASENAME).texinfo | |
45 | + jtex $(BASENAME).texinfo | |
46 | + texindex $(BASENAME).?? | |
47 | + jtex $(BASENAME).texinfo | |
48 | + dvipsk -R600 -Pdl $(BASENAME).dvi | |
49 | + | |
20 | 50 | clean : |
21 | - rm -f $(OBJ)~ | |
51 | + rm -f *.*~ | |
22 | 52 | rm -f makefile~ |
23 | - rm ../$(GZFILE) | |
53 | + rm -f $(BASENAME).aux | |
54 | + rm -f $(BASENAME).cp | |
55 | + rm -f $(BASENAME).cps | |
56 | + rm -f $(BASENAME).dvi | |
57 | + rm -f $(BASENAME).fn | |
58 | + rm -f $(BASENAME).fns | |
59 | + rm -f $(BASENAME).ky | |
60 | + rm -f $(BASENAME).kys | |
61 | + rm -f $(BASENAME).log | |
62 | + rm -f $(BASENAME).pg | |
63 | + rm -f $(BASENAME).pgs | |
64 | + rm -f $(BASENAME).ps | |
65 | + rm -f $(BASENAME).toc | |
66 | + rm -f $(BASENAME).tp | |
67 | + rm -f $(BASENAME).tps | |
68 | + rm -f $(BASENAME).vr | |
69 | + rm -f $(BASENAME).vrs | |
70 | + rm -f ../$(GZFILE) | |
24 | 71 | tar : clean |
25 | - cd .. | |
26 | - tar cvzf $(GZFILE) $(BASENAME) | |
72 | + (cd ..; tar cvzf $(GZFILE) $(BASENAME)) |