/[python-modules]/packages/python-django/trunk/debian/rules
ViewVC logotype

Contents of /packages/python-django/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6396 - (hide annotations) (download)
Fri Aug 29 03:32:40 2008 UTC (4 years, 8 months ago) by netzwurm
File size: 1624 byte(s)
* Removed all -doc related files temporarily to push beta2 into 
  unstable for extensive testing. The -doc package will be 
  readded once this package is in unstable as recommended in
  http://lists.debian.org/debian-release/2008/08/msg01475.html.
* debian/python-django-doc.install
  - Removed.
* debian/python-django-doc.doc-base
  - Removed.
* debian/python-django-doc.examples
  - Moved to python-django.examples.
* debian/rules
  - Removed python-doc related build and post-installation.
* debian/control
  - Removed binary package python-django-doc.
  - Removed Build-Depends-Indep on python-sphinx and libjs-jquery.
* debian/python-django.install:
  - Removed multiple package related issues.
1 brettp-guest 1388 #!/usr/bin/make -f
2    
3     DEB_PYTHON_SYSTEM := pysupport
4 netzwurm 6382 DEB_PYTHON_MODULE_PACKAGE = python-django
5 netzwurm 6396 #DEB_DH_COMPRESS_ARGS = -X.js
6 brettp-guest 1388
7     include /usr/share/cdbs/1/rules/buildcore.mk
8     include /usr/share/cdbs/1/rules/debhelper.mk
9     include /usr/share/cdbs/1/class/python-distutils.mk
10     include /usr/share/cdbs/1/rules/simple-patchsys.mk
11    
12     binary-post-install/python-django::
13 hertzog 1612 # Use default python shebang
14     perl -pi -e 's|^#!/usr/bin/env python.*$$|#!/usr/bin/python|' debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
15     # Ensure executability of some scripts that are copied to projects
16     # (or used within projects)
17     chmod 755 debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
18     chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/[^_]*.py
19     chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/profiling/[^_]*.py
20     # Create convenience symlink
21 brettp-guest 1603 mkdir -p debian/python-django/usr/lib/python-django
22 hertzog 1612 dh_link usr/share/python-support/python-django/django/bin usr/lib/python-django/bin
23 brettp-guest 1686 # Rename django-admin.py to django-admin
24 brettp-guest 1388 mv debian/python-django/usr/bin/django-admin.py debian/python-django/usr/bin/django-admin
25 netzwurm 6382
26 netzwurm 6396 #build/python-django-doc::
27 netzwurm 6382 # Build HTML documentation.
28 netzwurm 6396 # cd docs && make html
29 netzwurm 6382
30     clean::
31     rm -rf docs/_build/*
32    
33    
34 netzwurm 6396 #binary-post-install/python-django-doc::
35     # # Remove convenience copy of libjs-jquery and replace with symlink.
36     # cd debian/python-django-doc/usr/share/doc/python-django-doc/html/_static\
37     # && rm -f jquery.js\
38     # && ln -s ../../../../javascript/jquery/jquery.js .

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5