-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.mk
66 lines (51 loc) · 1.37 KB
/
config.mk
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
# Where the sources (m4) are.
SRC_DIR=src/
SVN!= which svn || which svnlite
COMMON_DIR=/home/zsolt/svn/wpwmm4/
BRANCH!= ${SVN} info --show-item relative-url | sed 's,.*/,,'
# Destination directory
.if ${BRANCH} == trunk
DEST_DIR=/usr/local/www/uzsolt/
.else
DEST_DIR=/usr/local/www/wip/
.endif
# Where the layouts are.
LAYOUT_DIR=layout/
# Virtual directory
VIRT_DIR=virtual/
HOOK_POST_HTML=${MSG2} Checking validity ; tidy5 -q -e -f /dev/stdout ${.TARGET} | sed '/About/,$$d ; s,^, ,'
HOOK_POST_VHTML=${HOOK_POST_HTML}
ASSETS_DIR+= parts/
# Targets in ${DEST_DIR}
.include "mk/about.mk"
.include "mk/edumath_stat.mk"
.include "mk/edu_phys.mk"
.include "mk/notes_bsd.mk"
.include "mk/notes_cli.mk"
.include "mk/notes_eco.mk"
.include "mk/notes_joke.mk"
.include "mk/notes_latex.mk"
.include "mk/notes_other.mk"
.include "mk/notes_phys.mk"
.include "mk/notes_r.mk"
.include "mk/notes_svn.mk"
.include "mk/notes_web.mk"
.include "mk/root.mk"
.for T in ${TARGETS}
.if ${T:C,/.*,,}==notes
${T}_REQ+=${LAYOUT_DIR}note.m4
.endif
.endfor
.include "mk/css.mk"
MKDIR_REQ=data/menu.psv mk/comp_lists.mk
# Global requirement
GREQ=${MENUTARGET} include/01_header.m4
# Category of virtually created files.
.include "mk/virtuals.mk"
MENUDATAFILE=data/menu.psv
STATICDIR=/home/zsolt/svn/uzsolt.hu/static/
include mk/comp_lists.mk
include mk/generate_menu.mk
pre-everything:
clean-other:
rm -rf menu