build: Extend makefile targets

Add a target for build mu4e-docs, add CSS file for that, too.
This commit is contained in:
Dirk-Jan C. Binnema
2021-09-04 10:41:07 +03:00
parent 5303b8cdc8
commit 964ab0e2c7
3 changed files with 235 additions and 2 deletions

View File

@ -14,7 +14,6 @@
## along with this program; if not, write to the Free Software Foundation,
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Makefile with some useful targets for meson/ninja
NINJA ?= ninja
@ -41,3 +40,7 @@ install: $(BUILDDIR)
clean:
@test -d $(BUILDDIR) && $(NINJA) -C $(BUILDDIR) clean
HTMLPATH=${BUILDDIR}/mu4e/mu4e
mu4e-doc-html:
@mkdir -p ${HTMLPATH} && cp mu4e/texinfo-klare.css ${HTMLPATH}
@makeinfo --html --css-ref=texinfo-klare.css -o ${HTMLPATH} mu4e/mu4e.texi