Commit dad4c3be authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Olivier SOLDANO

packaging: Fix debian rules distclean problem.

CMake doesn't produce distclean targets. The problem would only
surface when testing with an unclean tree.

Change-Id: I7604548c86e65a58f5e7934f4b1496b8921d38d1
Reviewed-by: 's avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 2adcfaa7
......@@ -113,13 +113,15 @@ override_dh_auto_clean:
#########################
## libringclient clean ##
#########################
if [ -f lrc/build/Makefile ]; then make -C lrc/build distclean; fi
# CMake build system has no distclean target, so use clean.
if [ -f lrc/build/Makefile ]; then make -C lrc/build clean; fi
rm -rfv lrc/build
########################
## gnome client clean ##
########################
if [ -f client-gnome/build/Makefile ]; then make -C client-gnome/build distclean; fi
# CMake build system has no distclean target, so use clean.
if [ -f client-gnome/build/Makefile ]; then make -C client-gnome/build clean; fi
rm -rfv client-gnome/build
override_dh_clean:
......
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