Skip to content
Snippets Groups Projects
Commit dad4c3be authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Olivier SOLDANO
Browse files

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: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 2adcfaa7
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment