/[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 1919 - (hide annotations) (download)
Sun Mar 25 21:00:31 2007 UTC (6 years, 2 months ago) by brettp-guest
File size: 1175 byte(s)
* New upstream release
* Reorganise patches
* Add bash completion file to installed files
* Add documentation in to installed files

1 brettp-guest 1388 #!/usr/bin/make -f
2    
3     DEB_PYTHON_SYSTEM := pysupport
4    
5     include /usr/share/cdbs/1/rules/buildcore.mk
6     include /usr/share/cdbs/1/rules/debhelper.mk
7     include /usr/share/cdbs/1/class/python-distutils.mk
8     include /usr/share/cdbs/1/rules/simple-patchsys.mk
9    
10     binary-post-install/python-django::
11 hertzog 1612 # Use default python shebang
12     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
13     # Ensure executability of some scripts that are copied to projects
14     # (or used within projects)
15     chmod 755 debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py
16     chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/[^_]*.py
17     chmod 755 debian/python-django/usr/share/python-support/python-django/django/bin/profiling/[^_]*.py
18     # Create convenience symlink
19 brettp-guest 1603 mkdir -p debian/python-django/usr/lib/python-django
20 hertzog 1612 dh_link usr/share/python-support/python-django/django/bin usr/lib/python-django/bin
21 brettp-guest 1686 # Rename django-admin.py to django-admin
22 brettp-guest 1388 mv debian/python-django/usr/bin/django-admin.py debian/python-django/usr/bin/django-admin

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5