# Vim makes a '4913' file for file system checking. Seriously.
livehtml:|$(CONDA_ENV_PYTHON)
@$(SPHINXAUTOBUILD)\
-b html \
--delay 5\
\
--ignore \*.swp \
--ignore \*~ \
--ignore env \
--ignore _build \
--ignore .git \
--ignore */4913 \
\
$(SPHINXOPTS)\
"$(SOURCEDIR)"\
"$(BUILDDIR)/html"
.PHONY:helplivehtmlMakefile
# Various automated fixups that can be run
fixup:
# Make sure it is SkyWater
find ../ -type f -name \*.rst -exec sed -i 's/Skywater/SkyWater/gi'\{\}\+
# Strip trailing space
find ../ -type f -name \*.rst -exec sed -i 's/ \+$$//'\{\}\+
# Make sure all library names have the :lib: role.
find ../ -type f -name \*.rst -exec sed -i -e'/:name:.*/!s/\(:lib:\)\?`\?\(sky130_[a-z0-9]\+_[a-z0-9]\+\(_[a-z0-9]\+\)\?\)`\?\(\s\|$$\)/:lib:`\2`\4/g'\{\}\+