UPSTREAM_VER := $(shell sed -n -e "s/${debpkg} (\(.*\)-[0-9.]).*/\1/p" < debian/changelog |head -1)
+pkg-ver := $(debpkg)-$(UPSTREAM_VER)
clc-source := $(SOURCEDIR)-$(UPSTREAM_VER)
configure: configure-stamp
# dh_installinfo
# dh_undocumented
dh_installchangelogs ChangeLog
- dh_link $(clc-source) $(SOURCEDIR)
+ dh_link $(clc-source) $(pkg)
dh_strip
dh_compress
dh_fixperms