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:
parent
d378ecb3b6
commit
0711f89180
3
Makefile
3
Makefile
@ -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 $@
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user