File: rules

package info (click to toggle)
msgpuck 1.0.3-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch, trixie
  • size: 384 kB
  • ctags: 393
  • sloc: ansic: 2,721; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_MAKE_CHECK_TARGET := test

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

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

build-indep:
	cd $(DEB_BUILDDIR) && $(MAKE) doc

tarball: clean
	tar --exclude=.git --exclude=debian             \
                --transform='s,^\.,msgpuck_$(UVERSION),S' \
                -czf ../msgpuck_$(UVERSION).orig.tar.gz .