File: rules

package info (click to toggle)
python-django-formfieldset 0%2Bgit20090520-621cb58-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 56 kB
  • ctags: 30
  • sloc: python: 215; makefile: 10
file content (13 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@

get-orig-source:
	git clone git://github.com/muhuk/django-formfieldset.git
	set -e; \
	revid=`git --git-dir=django-formfieldset/.git/ rev-list --abbrev=7 --abbrev-commit --no-walk HEAD`; \
	version_string=0+git`date +%Y%m%d`-$$revid; \
	dirname=python-django-formfieldset-$$version_string; \
	git --git-dir=django-formfieldset/.git/ archive --format=tar HEAD | gzip > python-django-formfieldset_$$version_string.orig.tar.gz; \
	rm -rf django-formfieldset