# /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 # on behalf of the Debian Python Team # copyright: 2016-2022 Jerome Benoit # 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