debianpkg: use redistclean target

Now we can run dpkg-buildpackage from a dirty directory and it properly
cleans up.

Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
David Lamparter 2018-10-24 18:32:11 +02:00
parent 8a10dc8662
commit 02334d76e7

View File

@ -157,3 +157,8 @@ endif
rm debian/tmp/usr/lib/*.la
rm debian/tmp/usr/lib/frr/modules/*.la
rm debian/tmp/usr/lib/frr/libyang_plugins/*.la
override_dh_auto_clean:
# we generally do NOT want a full distclean since that wipes both
# debianpkg/changelog and config.version
if test -f Makefile; then make redistclean; fi