debian/rules: pass --as-needed to configure.
[debian/pino.git] / debian / rules
1 #!/usr/bin/make -f
2
3 %:
4         dh $@
5
6 override_dh_auto_configure:
7         dh_auto_configure -- -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed"
8
9 override_dh_auto_install:
10         dh_auto_install
11         rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/INSTALL
12         rm -f $(CURDIR)/debian/pino/usr/share/doc/pino/COPYING
13         rm -rf $(CURDIR)/debian/pino/usr/share/indicators