~ubuntu-branches/ubuntu/maverick/yokadi/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2009-07-19 13:01:35 UTC
  • Revision ID: james.westby@ubuntu.com-20090719130135-7yphhctyszficxwj
Tags: 0.10.0-0ubuntu1
* Initial release
* ubuntu_01_dont_duplicate_doc.diff prevents the LICENSE, NEWS and
  README.markdown files as well as the doc directory to get installed via
  setup.py. Makes lintian happier and avoids duplication with share/doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
DEB_PYTHON_SYSTEM = pycentral
 
4
 
 
5
include /usr/share/cdbs/1/rules/debhelper.mk
 
6
include /usr/share/cdbs/1/class/python-distutils.mk
 
7
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
8
 
 
9
clean::
 
10
        rm -rf build
 
11
 
 
12
DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname )
 
13
UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
 
14
 
 
15
get-orig-source:
 
16
        cd ${DEBIAN_DIR}/.. && uscan --force-download
 
17
        bzcat ../${DEB_SOURCE_PACKAGE}-${UPSTREAM_VERSION}.tar.bz2 | gzip -9fn -c - > \
 
18
        ../${DEB_SOURCE_PACKAGE}_${UPSTREAM_VERSION}.orig.tar.gz