File: rules

package info (click to toggle)
pidgin-mra 20100304-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 256 kB
  • ctags: 323
  • sloc: ansic: 2,445; makefile: 55; sh: 7
file content (22 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

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

VERSION  := $(shell dpkg-parsechangelog|grep ^Version|awk '{print $$2}')
UVERSION := $(shell echo $(VERSION)|sed 's/-[[:digit:]]\+$$//')
PACKAGE	 := pidgin-mra


build/$(PACKAGE)::
	$(MAKE)

install/$(PACKAGE)::
	$(MAKE) DESTDIR=debian/$(PACKAGE)/ install
	find debian/$(PACKAGE) -type f -exec chmod -x '{}' +

clean::
	rm -fr *.so

tarball: clean
	cd .. && tar --exclude=.git --exclude=debian \
		-czf $(PACKAGE)_$(UVERSION).orig.tar.gz $(PACKAGE)-$(UVERSION)