File: rules

package info (click to toggle)
flashgot 1.4.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,932 kB
  • sloc: cpp: 1,932; sh: 9; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 611 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# cleaning up the extra license file (FlashGot_License.txt) using latest xpi.mk's features
MOZ_XPI_DOCUMENTED_LICENSE_FILES := FlashGot_License.txt

upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p')

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/mozilla-devscripts/xpi.mk

#Build the orig.tar.gz
dfsg-free: clean
	zip -d chrome/flashgot.jar content/flashgot/FlashGot.exe
	cd ..; mv $(CURDIR) flashgot-$(upstreamversion); \
            tar --exclude debian -czf flashgot_$(upstreamversion).orig.tar.gz flashgot-$(upstreamversion)