| 1 | #!/usr/bin/make -f |
| 2 | # -*- mode: makefile; coding: utf-8 -*- |
| 3 | |
| 4 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=markdown |
| 5 | export PYGMENTS_VERSIONscip-makefile . . . PYGMENTS_VERSION.=2.7.1 |
| 6 | |
| 7 | %scip-makefile . . . `%`/: |
| 8 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 9 | |
| 10 | override_dh_auto_buildscip-makefile . . . override_dh_auto_build/: |
| 11 | dh_auto_build |
| 12 | ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),) |
| 13 | LC_ALL=C.UTF-8 XDG_CACHE_HOME=$(CURDIRscip-makefile . . . CURDIR.)/build/cache PYTHONPATH=$(CURDIRscip-makefile . . . CURDIR.) mkdocs build -d build/docs |
| 14 | endif |
| 15 | |
| 16 | ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),) |
| 17 | override_dh_installdocsscip-makefile . . . override_dh_installdocs/: |
| 18 | dh_installdocs |
| 19 | dh_mkdocs -T mkdocs -T libjs-underscore -T mkdocs-nature |
| 20 | endif |
| 21 | |
| 22 | override_dh_compressscip-makefile . . . override_dh_compress/: |
| 23 | dh_compress -X.txt -Xfavicon.ico -Xsearch_index.json -Xsitemap.xml -Xchangelog.html |
| 24 | |
| 25 | .PHONYscip-makefile . . . `.PHONY`/: override_dh_auto_buildscip-makefile . . . override_dh_auto_build/ override_dh_compressscip-makefile . . . override_dh_compress/ |