Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE=1
4
5 export PYBUILD_NAME=pygments
6 export PYBUILD_TEST_ARGS=-v -k 'not test_chooses_correct_lexer_for_example_files and not test_guess_lexer_singularity and not test_guess_lexer_forth and not test_guess_lexer_modula2 and not test_guess_lexer_unicon and not test_guess_lexer_ezhil and not test_guess_lexer_gdscript and not test_guess_lexer_gap and not test_guess_lexer_easytrieve and not test_guess_lexer_jcl and not test_guess_lexer_rexx'
7
8 %:
9 dh $@ --buildsystem=pybuild
10
11 execute_after_dh_auto_clean:
12 rm -rf build Pygments.egg-info doc/_build
13 find . -name "*\.pyc" -delete
14
15 execute_after_dh_auto_build:
16 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
17 PYTHONPATH=$(CURDIR):$(CURDIR)/doc make -C doc html
18 else
19 mkdir -p doc/_build/html/
20 endif
21
22 execute_after_dh_auto_install:
23 install -m 644 external/pygments.bashcomp debian/python3-pygments/usr/share/bash-completion/completions/pygmentize
24 test -d debian/python-pygments-doc/usr/share/bash-completion && rm -rf debian/python-pygments-doc/usr/share/bash-completion
25
26 override_dh_installchangelogs:
27 dh_installchangelogs -i CHANGES
28
29 override_dh_compress:
30 dh_compress -i -X.py -X.inv