1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-1694 make package rule non-nested: added clean alias for all_clean

This commit is contained in:
James Duley 2015-01-30 09:42:07 +13:00
parent d378ecb3b6
commit 0711f89180
2 changed files with 4 additions and 1 deletions

View File

@ -135,6 +135,9 @@ all_clean:
@$(ECHO) " CLEAN $(call toprel, $(BUILD_DIR))" @$(ECHO) " CLEAN $(call toprel, $(BUILD_DIR))"
$(V1) [ ! -d "$(BUILD_DIR)" ] || $(RM) -rf "$(BUILD_DIR)" $(V1) [ ! -d "$(BUILD_DIR)" ] || $(RM) -rf "$(BUILD_DIR)"
.PONY: clean
clean: all_clean
$(DL_DIR): $(DL_DIR):
$(MKDIR) -p $@ $(MKDIR) -p $@

View File

@ -13,7 +13,7 @@ export DH_OPTIONS
# Disabled because OpenPilot makefile cleans and builds. # Disabled because OpenPilot makefile cleans and builds.
override_dh_auto_clean: override_dh_auto_clean:
#$(MAKE) all_clean #
override_dh_auto_build: override_dh_auto_build:
#dh_auto_build -- all #dh_auto_build -- all