File: rules

package info (click to toggle)
python-libgmail 0.0.8%2Bcvs20050208-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 172 kB
  • ctags: 412
  • sloc: python: 1,503; sh: 37; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

PYTHON_VERSION := 2.3

DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG
DEB_COMPRESS_EXCLUDE := .py

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/dpatch/dpatch.make

install/python-libgmail:: patch
	mkdir -pm755 $(CURDIR)/debian/python-libgmail/usr/lib/python$(PYTHON_VERSION)/site-packages/libgmail
	install -m644 libgmail.py $(CURDIR)/debian/python-libgmail/usr/lib/python$(PYTHON_VERSION)/site-packages/libgmail/__init__.py
	install -m644 constants.py $(CURDIR)/debian/python-libgmail/usr/lib/python$(PYTHON_VERSION)/site-packages/libgmail/
	install -m644 demos/* $(CURDIR)/debian/python-libgmail/usr/share/doc/python-libgmail/examples
	dh_python

cleanbuilddir/python-libgmail:: unpatch
	rm -f $(wildcard *.pyc *.pyo)