File: rules

package info (click to toggle)
frogatto-data 1.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 254,428 kB
  • ctags: 46
  • sloc: xml: 584; python: 396; perl: 249; sh: 126; ruby: 69; makefile: 30
file content (23 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

PACKAGE_VERSION 	:= $(shell		\
		dpkg-parsechangelog 		\
	|	grep ^Version 			\
	|	awk '{print $$2}' 		\
	|	sed 's/-[[:digit:]]\+$$//'	\
)
include /usr/share/cdbs/1/rules/debhelper.mk

tarball:
	cd .. && tar \
		--exclude=debian \
		--exclude=.git \
		-czvf frogatto-data_$(PACKAGE_VERSION).orig.tar.gz \
		frogatto-data-$(PACKAGE_VERSION)
		

# Damn cdbs: the following is not working as I fail to see the target
# called after all the installs and before the dh_builddep. That would
# fix a lintian warning however.
#common-binary-indep::
#	cd debian/frogatto-data/usr/share/games/frogatto && find -type f -print0 |xargs -0 chmod a-x