OSDN Git Service

Release docs/kernel-docs-2.6/filesystems/btrfs.txt [JF:20135]
[linuxjf/JF.git] / JF.conf
1 #
2 # Set base directories and filenames
3 #
4 ifndef PROJROOT
5 PROJROOT        =$(HOME)/JF
6 endif
7 ifndef DESTROOT
8 DESTROOT        =/home/groups/l/li/linuxjf/htdocs
9 endif
10 ifndef WORKDIR
11 WORKDIR         =$(HOME)/tmp
12 endif
13
14 LAST_MODIFIED   =$(PROJROOT)/last-modified
15 BINDIR          =$(PROJROOT)/bin
16 LDP_ROOT        =$(DESTROOT)/howto-translations
17 WWW_ROOT        =$(DESTROOT)
18 FTP_ROOT        =$(DESTROOT)/ftp
19
20 #
21 # jfindex.db
22 #
23 JFINDEXDB       =$(PROJROOT)/jfindex.db
24
25 #
26 # INDEX categories.
27 #
28 CATEGORIES = install faq guide hardware diskmanage filesystem network xfree dtp database tool kernel etc programming archived
29
30 #
31 # INDEX kinds.
32 #
33 KINDS = OTHER-TRANS ORIGINAL
34
35 #
36 # default behavior
37 #
38 COMPILE=yes
39
40 #
41 # Select contents to make
42 #
43
44 ifndef INSTALL_WWW
45 INSTALL_WWW=yes
46 endif
47 ifndef INSTALL_FTP
48 INSTALL_FTP=yes
49 endif
50 ifndef INSTALL_LDP
51 INSTALL_LDP=yes
52 endif
53
54 #
55 # Set destination directory
56 #
57
58 # tarballs
59 WORK_TEXT=$(WORKDIR)/txt/JFdocs
60 WORK_SGML=$(WORKDIR)/sgml/JFdocs
61 WORK_HTML=$(WORKDIR)/html/JFdocs
62 WORKCONTENTS =./JFdocs
63 ifeq ($(ITEM), archived)
64 WORK_TEXT=$(WORKDIR)/txt/JFdocs/archive
65 WORK_SGML=$(WORKDIR)/sgml/JFdocs/archive
66 WORK_HTML=$(WORKDIR)/html/JFdocs/archive
67 endif
68
69 # WWW contents
70 DEST_WWW_TEXT=$(WWW_ROOT)/JFdocs
71 DEST_WWW_SGML=$(WWW_ROOT)/JFdocs
72 DEST_WWW_HTML=$(WWW_ROOT)/JFdocs
73 ifeq ($(ITEM), archived)
74 DEST_WWW_TEXT=$(WWW_ROOT)/JFdocs/archive
75 DEST_WWW_SGML=$(WWW_ROOT)/JFdocs/archive
76 DEST_WWW_HTML=$(WWW_ROOT)/JFdocs/archive
77 endif
78
79 # FTP contents
80 DEST_FTP_TEXT=$(FTP_ROOT)/text
81 DEST_FTP_SGML=$(FTP_ROOT)/sgml
82 DEST_FTP_HTML=$(FTP_ROOT)/html
83 ifeq ($(KIND), LDP-TRANS)
84 DEST_FTP_TEXT=$(FTP_ROOT)/text
85 DEST_FTP_SGML=$(FTP_ROOT)/sgml
86 DEST_FTP_HTML=$(FTP_ROOT)/html
87 ifeq ($(ATRB), MINI)
88 DEST_FTP_TEXT=$(FTP_ROOT)/text
89 DEST_FTP_SGML=$(FTP_ROOT)/sgml
90 DEST_FTP_HTML=$(FTP_ROOT)/html
91 endif
92 endif
93
94 # LDP translations for mirror
95 ifeq ($(KIND), LDP-TRANS)
96 DEST_LDP_TEXT=$(LDP_ROOT)
97 DEST_LDP_SGML=$(LDP_ROOT)/sgml
98 DEST_LDP_HTML=$(LDP_ROOT)/html
99 ifeq ($(ATRB), MINI)
100 DEST_LDP_TEXT=$(LDP_ROOT)/mini/
101 DEST_LDP_SGML=$(LDP_ROOT)/mini/sgml
102 DEST_LDP_HTML=$(LDP_ROOT)/mini/html
103 endif
104 endif
105
106 #
107 # List of obsoleted docs.
108 #
109 OBSOLETE=$(PROJROOT)/docs/obsolete/obsoleted.list
110
111 #
112 # SGML-tools
113 #
114 SGML2HTML        = sgml2html -c nippon -l ja
115 SGML21HTML       = $(BINDIR)/sgml21html
116
117 SGML2TEXT        = LANG=ja_JP.eucJP sgml2txt -c nippon -f -l ja
118 HTML2TEXT        = LANG=ja w3m -dump -T text/html -cols 72
119
120 JADE             = jade
121 JADE_OPTION      = -t sgml -i html -d $(PROJROOT)/jf-custom.dsl
122 JADE_ADD_OPTION  =
123 XMLDCL           = $(PROJROOT)/xml.dcl 
124
125 #
126 # Misc. tools
127 #
128 INSTALL          = install -m 644
129
130 GEN_INDEX        = $(BINDIR)/genindex.pl $(JFINDEXDB)
131 MKNEWINDEX       = perl -I $(BINDIR) $(BINDIR)/mknewidx.pl      -d $(JFINDEXDB)
132 MKCONTRIBINDEX   = perl -I $(BINDIR) $(BINDIR)/mkcontriblist.pl -d $(JFINDEXDB)
133 PERL_CRLF        = perl -e 'while (<>) {chop; print; print "\r\n";}'
134
135 NKF              = nkf