| 1 | # /usr/share/doc/jupyter-sphinx-theme-doc/examples/Makefile |
| 2 | # |
| 3 | # Ad hoc Makefile for building and playing with the sample sources |
| 4 | # distributed within the debian package jupyter-sphinx-theme-doc. |
| 5 | # |
| 6 | # Recommended usage: |
| 7 | # 1. Create a dedicated folder somewhere in your HOME directory; |
| 8 | # 2. Link all the files in /usr/share/doc/jupyter-sphinx-theme-doc/examples |
| 9 | # into this dedicated folder |
| 10 | # 3. Launch this Makefile in the dedicated folder: |
| 11 | # $ make ; |
| 12 | # for a basic cleanup, consider the clean target: |
| 13 | # $ make clean ; |
| 14 | # for an entire cleanup, the maintainer-clean target: |
| 15 | # $ make maintainer-clean ; |
| 16 | # for other targets, just read the Makefile. |
| 17 | # |
| 18 | # written for Debian by Jerome Benoit <[email protected]> |
| 19 | # on behalf of the Debian Python Team |
| 20 | # copyright: 2016-2022 Jerome Benoit <[email protected]> |
| 21 | # distributed under the terms and conditions of the MIT License |
| 22 | # |
| 23 | |
| 24 | JST_DEMO_LISTOF_ITEM = \ |
| 25 | html \ |
| 26 | dirhtml \ |
| 27 | singlehtml \ |
| 28 | pickle \ |
| 29 | json \ |
| 30 | qthelp \ |
| 31 | devhelp \ |
| 32 | epub \ |
| 33 | latex latexpdf \ |
| 34 | text \ |
| 35 | man \ |
| 36 | texinfo \ |
| 37 | info \ |
| 38 | gettext \ |
| 39 | changes |
| 40 | |
| 41 | #JST_DEMO_LISTOF_ITEM += linkcheck |
| 42 | |
| 43 | default: all |
| 44 | |
| 45 | all: build |
| 46 | |
| 47 | build: build-demo |
| 48 | |
| 49 | build-demo: |
| 50 | $(foreach ITEM,$(JST_DEMO_LISTOF_ITEM), \ |
| 51 | @echo "***************** $(ITEM) *****************" $(NEWLINE)\ |
| 52 | $(MAKE) -C demo $(ITEM) BUILDDIR=build/build-$(ITEM) $(NEWLINE)\ |
| 53 | @echo $(NEWLINE)\ |
| 54 | ) |
| 55 | |
| 56 | check: build |
| 57 | |
| 58 | clean: |
| 59 | $(MAKE) -C demo clean |
| 60 | |
| 61 | maintainer-clean: clean |
| 62 | |
| 63 | ############################################################################### |
| 64 | define NEWLINE |
| 65 | |
| 66 | |
| 67 | endef |
| 68 | |
| 69 | # eos |