File: rules

package info (click to toggle)
slugimage 1%3A0.1%2B20160202.fe8b64a-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 236 kB
  • sloc: perl: 821; sh: 144; makefile: 13
file content (12 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

# There's no upstream tarball, so get one out of svn.
get-orig-source:
	mkdir tmp
	git clone https://github.com/nslu2-linux/SlugImage tmp/slugimage
	cd tmp && tar --exclude .git -czf ../slugimage_0.1+`cd slugimage; git log -n 1 --pretty=format:"%cd.%h" --date short | sed -e 's/-//g'`.orig.tar.gz slugimage
	rm -rf tmp

%:
	dh $@