summaryrefslogtreecommitdiff
path: root/fehqlibs-deb/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'fehqlibs-deb/debian/rules')
-rwxr-xr-xfehqlibs-deb/debian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/fehqlibs-deb/debian/rules b/fehqlibs-deb/debian/rules
index de332cf..5d5dd1d 100755
--- a/fehqlibs-deb/debian/rules
+++ b/fehqlibs-deb/debian/rules
@@ -11,11 +11,13 @@ get-orig-source:
override_dh_auto_clean:
-tar -xf ../fehqlibs_$(UPSTREAM_VERSION).orig.tar.gz --strip-components=1
+ rm -f debian/contrib/qlibs.pc
$(MAKE) -C src clean
sed -i '31,$$d' conf-build
override_dh_auto_configure:
echo CFLAGS=\"-Iinclude $(CFLAGS)\" >>conf-build
+ sed "s/@VERSION@/$(UPSTREAM_VERSION)/" debian/contrib/qlibs.pc.in >debian/contrib/qlibs.pc
$(MAKE) -C src check
override_dh_auto_build: