~karimsye/+junk/python3-sanic-package

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: syed.karim at canonical
  • Date: 2018-12-19 20:12:15 UTC
  • Revision ID: syed.karim@canonical.com-20181219201215-6qgsi01fyrsk5m8m
Initial commit of Debian packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# See debhelper(7) (uncomment to enable)
 
3
# output every command that modifies files on the build system.
 
4
#export DH_VERBOSE = 1
 
5
 
 
6
export PYBUILD_NAME=sanic
 
7
 
 
8
%:
 
9
        dh $@ --with python2,python3 --buildsystem=pybuild
 
10
 
 
11
 
 
12
# If you need to rebuild the Sphinx documentation
 
13
# Add spinxdoc to the dh --with line
 
14
#override_dh_auto_build:
 
15
#       dh_auto_build
 
16
#       PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml        docs/ build/html # HTML generator
 
17
#       PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman        docs/ build/man # Manpage generator
 
18