This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Makefile.win
56 lines (47 loc) · 1.78 KB
/
Makefile.win
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
# $Id: Makefile.win,v 1.3 2008/02/18 23:00:42 jasonsantos Exp $
include config.win
LUADOC_DIR= $(LUA_DIR)\luadoc
DOCLET_DIR= $(LUADOC_DIR)\doclet
HTML_DIR= $(DOCLET_DIR)\html
TAGLET_DIR= $(LUADOC_DIR)\taglet
STANDARD_DIR= $(TAGLET_DIR)\standard
LAUNCHER_DIR= c:\lua5.1
LUADOC_REFMAN= doc\refman
LUADOC_LUAS= src\luadoc\config.lua \
src\luadoc\init.lua \
src\luadoc\lp.lua \
src\luadoc\util.lua
DOCLET_LUAS= src\luadoc\doclet\debug.lua \
src\luadoc\doclet\formatter.lua \
src\luadoc\doclet\html.lua \
src\luadoc\doclet\raw.lua
HTML_LUAS= src\luadoc\doclet\html\file.lp \
src\luadoc\doclet\html\function.lp \
src\luadoc\doclet\html\index.lp \
src\luadoc\doclet\html\luadoc.css \
src\luadoc\doclet\html\menu.lp \
src\luadoc\doclet\html\module.lp \
src\luadoc\doclet\html\table.lp
TAGLET_LUAS= src\luadoc\taglet\standard.lua
STANDARD_LUAS= src\luadoc\taglet\standard\tags.lua
LAUNCHER= src\luadoc.bat
LAUNCHER_SRC= src\luadoc.lua.in
LAUNCHER_START= luadoc_start.lua
build clean:
install:
IF NOT EXIST "$(LUADOC_DIR)" mkdir "$(LUADOC_DIR)"
FOR %F IN ($(LUADOC_LUAS)) DO copy "%F" "$(LUADOC_DIR)"
IF NOT EXIST "$(DOCLET_DIR)" mkdir "$(DOCLET_DIR)"
FOR %F IN ($(DOCLET_LUAS)) DO copy "%F" "$(DOCLET_DIR)"
IF NOT EXIST "$(HTML_DIR)" mkdir "$(HTML_DIR)"
FOR %F IN ($(HTML_LUAS)) DO copy "%F" "$(HTML_DIR)"
IF NOT EXIST "$(TAGLET_DIR)" mkdir "$(TAGLET_DIR)"
FOR %F IN ($(TAGLET_LUAS)) DO copy "%F" "$(TAGLET_DIR)"
IF NOT EXIST "$(STANDARD_DIR)" mkdir "$(STANDARD_DIR)"
FOR %F IN ($(STANDARD_LUAS)) DO copy "%F" "$(STANDARD_DIR)"
IF NOT EXIST "$(LAUNCHER_DIR)" mkdir "$(LAUNCHER_DIR)"
copy "$(LAUNCHER)" "$(LAUNCHER_DIR)"
copy "$(LAUNCHER_SRC)" "$(LAUNCHER_DIR)\$(LAUNCHER_START)"
refman:
IF NOT EXIST "$(LUADOC_REFMAN)" mkdir "$(LUADOC_REFMAN)"
"$(LAUNCHER)" -d "$(LUADOC_REFMAN)" src\luadoc