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 67 68 69
|
# /usr/share/doc/jupyter-sphinx-theme-doc/examples/Makefile
#
# Ad hoc Makefile for building and playing with the sample sources
# distributed within the debian package jupyter-sphinx-theme-doc.
#
# Recommended usage:
# 1. Create a dedicated folder somewhere in your HOME directory;
# 2. Link all the files in /usr/share/doc/jupyter-sphinx-theme-doc/examples
# into this dedicated folder
# 3. Launch this Makefile in the dedicated folder:
# $ make ;
# for a basic cleanup, consider the clean target:
# $ make clean ;
# for an entire cleanup, the maintainer-clean target:
# $ make maintainer-clean ;
# for other targets, just read the Makefile.
#
# written for Debian by Jerome Benoit <calculus@rezozer.net>
# on behalf of the Debian Python Team
# copyright: 2016-2022 Jerome Benoit <calculus@rezozer.net>
# distributed under the terms and conditions of the MIT License
#
JST_DEMO_LISTOF_ITEM = \
html \
dirhtml \
singlehtml \
pickle \
json \
qthelp \
devhelp \
epub \
latex latexpdf \
text \
man \
texinfo \
info \
gettext \
changes
#JST_DEMO_LISTOF_ITEM += linkcheck
default: all
all: build
build: build-demo
build-demo:
$(foreach ITEM,$(JST_DEMO_LISTOF_ITEM), \
@echo "***************** $(ITEM) *****************" $(NEWLINE)\
$(MAKE) -C demo $(ITEM) BUILDDIR=build/build-$(ITEM) $(NEWLINE)\
@echo $(NEWLINE)\
)
check: build
clean:
$(MAKE) -C demo clean
maintainer-clean: clean
###############################################################################
define NEWLINE
endef
# eos
|