3 DEB_DH_INSTALL_SOURCEDIR=debian/tmp
5 include /usr/share/cdbs/1/rules/debhelper.mk
6 include /usr/share/cdbs/1/class/autotools.mk
8 DEB_DH_MAKESHLIBS_ARGS=-V
9 DEB_DBG_PACKAGES="libxcb-atom1-dbg libxcb-aux0-dbg libxcb-event1-dbg libxcb-image0-dbg libxcb-keysyms1-dbg libxcb-property1-dbg libxcb-render-util0-dbg libxcb-reply1-dbg libxcb-icccm1-dbg"
11 ORIG_MAJOR=$(shell git describe upstream | cut -d- -f1)
12 ORIG_GIT=$(shell git describe upstream | cut -d- -f2)
14 LDFLAGS += -Wl,--hash-style=both -Wl,--as-needed
16 post-patches:: configure-stamp
18 sh ./autogen.sh $(DEB_CONFIGURE_NORMAL_ARGS)
25 git archive upstream | gzip -9 > ../xcb-util_$(ORIG_MAJOR)+git$(ORIG_GIT).orig.tar.gz