X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=81dd430948ccf07b79e91ff9265e1f4d87bd2de4;hb=5232660797032f318cfea7ff2b9d486b6d58db50;hp=ab808511ddfb5c347d8f9c5835431cfcf16b950c;hpb=a40d8005b6254f7ffad87603376d718711c184fa;p=uffi.git diff --git a/debian/rules b/debian/rules index ab80851..81dd430 100755 --- a/debian/rules +++ b/debian/rules @@ -11,9 +11,6 @@ export DH_COMPAT=4 pkg := uffi debpkg := cl-uffi -INSTALL := install -INSTALLFLAGS := -g root -o root -m 0644 - UPSTREAM_VER := $(shell sed -n -e "s/${debpkg} (\(.*\)-[0-9.]).*/\1/p" < debian/changelog |head -1) pkg-ver := $(debpkg)-$(UPSTREAM_VER) @@ -69,10 +66,8 @@ install: build dh_install doc/html $(doc-dir) rm -rf doc/html cp doc/uffi.pdf doc/cl-uffi.pdf - rm -f doc/cl-uffi.pdf.gz - gzip doc/cl-uffi.pdf + gzip -9 doc/cl-uffi.pdf dh_install doc/cl-uffi.pdf.gz $(doc-dir) - rm -f doc/cl-uffi.pdf.gz # Build architecture-independent files here. binary-indep: build install