Commit e2affe45 authored by Julian Wiesener's avatar Julian Wiesener

keep varnish static libs and .la files

parent 2f52e188
......@@ -55,12 +55,12 @@ override_dh_auto_install:
dh_auto_install -a
install -d debian/tmp/etc/varnish
install -T -m 0644 etc/example.vcl debian/tmp/etc/varnish/default.vcl
@ # Remove .la files
@ # (See http://wiki.debian.org/ReleaseGoals/LAFileRemoval)
find $(CURDIR)/debian/ -name \*.la -delete
@ # Nuke the static libs too
find $(CURDIR)/debian -name \*.a -delete
find bin config.h include lib -type f -name \*.h -exec install -D -o root -g root -m 644 {} $(CURDIR)/debian/tmp/usr/src/varnish-$(DEB_VERSION_UPSTREAM)/{} \;
find . -type f -name \*.la -exec install -D -o root -g root -m 644 {} $(CURDIR)/debian/tmp/usr/src/varnish-$(DEB_VERSION_UPSTREAM)/{} \;
find . -type f -name \*.a -exec install -D -o root -g root -m 644 {} $(CURDIR)/debian/tmp/usr/src/varnish-$(DEB_VERSION_UPSTREAM)/{} \;
find debian/tmp/usr/lib/ -type f -name \*.la -delete
find debian/tmp/usr/lib/ -type f -name \*.a -delete
rm -v debian/tmp/usr/share/varnish/vcc/*.vcc
override_dh_install-arch:
dh_install -a --fail-missing
......
......@@ -2,3 +2,4 @@ doc/changes.rst
# previously in varnish-doc
doc/html
doc/*.html
usr/share/varnish/vcc/*.vcc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment