Rename doc.css to doc.css.in.
As we'll need to copy it to buck-out/gen anyway, this will save some future trouble. Change-Id: I91cfadd15d6642a8dfaf73b6243411e9492781ca
This commit is contained in:
@@ -19,7 +19,7 @@ genrule(
|
||||
srcs = glob([
|
||||
'images/*.jpg',
|
||||
'images/*.png',
|
||||
]) + ['doc.css'],
|
||||
]) + [':doc.css'],
|
||||
out = 'html.zip',
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
@@ -39,6 +39,13 @@ genrule(
|
||||
out = 'licenses.txt',
|
||||
)
|
||||
|
||||
genrule(
|
||||
name = 'doc.css',
|
||||
srcs = ['doc.css.in'],
|
||||
cmd = 'cp $SRCS $OUT',
|
||||
out = 'doc.css',
|
||||
)
|
||||
|
||||
python_binary(
|
||||
name = 'gen_licenses',
|
||||
main = 'gen_licenses.py',
|
||||
|
||||
@@ -34,7 +34,7 @@ def genasciidoc(
|
||||
for attribute in attributes:
|
||||
asciidoc.extend(['-a', attribute])
|
||||
asciidoc.append('$SRCS')
|
||||
newsrcs = ["doc.css"]
|
||||
newsrcs = [":doc.css"]
|
||||
for src in srcs:
|
||||
fn = src
|
||||
# We have two cases: regular source files and generated files.
|
||||
|
||||
Reference in New Issue
Block a user