mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
move init target to main makefile
This commit is contained in:
@@ -121,6 +121,9 @@ _save_build_version:
|
|||||||
update_google_version:
|
update_google_version:
|
||||||
-$(MAKE) -C data/maps
|
-$(MAKE) -C data/maps
|
||||||
|
|
||||||
|
init:
|
||||||
|
@[ -d $(PAPARAZZI_HOME) ] || (echo "Copying config example in your $(PAPARAZZI_HOME) directory"; mkdir -p $(PAPARAZZI_HOME); cp -a conf $(PAPARAZZI_HOME); cp -a data $(PAPARAZZI_HOME); mkdir -p $(PAPARAZZI_HOME)/var/maps; mkdir -p $(PAPARAZZI_HOME)/var/include)
|
||||||
|
|
||||||
conf: conf/conf.xml conf/control_panel.xml conf/maps.xml
|
conf: conf/conf.xml conf/control_panel.xml conf/maps.xml
|
||||||
|
|
||||||
conf/%.xml :conf/%_example.xml
|
conf/%.xml :conf/%_example.xml
|
||||||
@@ -320,7 +323,7 @@ test_math:
|
|||||||
test_sim: all
|
test_sim: all
|
||||||
prove tests/sim
|
prove tests/sim
|
||||||
|
|
||||||
.PHONY: all print_build_version _print_building _save_build_version update_google_version dox ground_segment ground_segment.opt \
|
.PHONY: all print_build_version _print_building _save_build_version update_google_version init dox ground_segment ground_segment.opt \
|
||||||
subdirs $(SUBDIRS) conf ext libpprz multimon cockpit cockpit.opt tmtc tmtc.opt generators\
|
subdirs $(SUBDIRS) conf ext libpprz multimon cockpit cockpit.opt tmtc tmtc.opt generators\
|
||||||
static sim_static lpctools commands \
|
static sim_static lpctools commands \
|
||||||
clean cleanspaces ab_clean dist_clean distclean dist_clean_irreversible \
|
clean cleanspaces ab_clean dist_clean distclean dist_clean_irreversible \
|
||||||
|
|||||||
+1
-5
@@ -136,10 +136,6 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
init:
|
|
||||||
@[ -d $(PAPARAZZI_HOME) ] || (echo "Copying config example in your $(PAPARAZZI_HOME) directory"; mkdir -p $(PAPARAZZI_HOME); cp -a conf $(PAPARAZZI_HOME); cp -a data $(PAPARAZZI_HOME); mkdir -p $(PAPARAZZI_HOME)/var/maps; mkdir -p $(PAPARAZZI_HOME)/var/include)
|
|
||||||
|
|
||||||
|
|
||||||
print_version:
|
print_version:
|
||||||
@echo "-----------------------------------------------------------------------"
|
@echo "-----------------------------------------------------------------------"
|
||||||
@echo "Paparazzi version" $(GIT_DESC)$(VERSION_MATCH)
|
@echo "Paparazzi version" $(GIT_DESC)$(VERSION_MATCH)
|
||||||
@@ -254,4 +250,4 @@ clean_ac :
|
|||||||
@echo "CLEANING $(AIRCRAFT)"
|
@echo "CLEANING $(AIRCRAFT)"
|
||||||
$(Q)rm -fr $(AIRCRAFT_BUILD_DIR)
|
$(Q)rm -fr $(AIRCRAFT_BUILD_DIR)
|
||||||
|
|
||||||
.PHONY: init all_ac_h radio_ac_h flight_plan_ac_h makefile_ac clean_ac print_version
|
.PHONY: all_ac_h radio_ac_h flight_plan_ac_h makefile_ac clean_ac print_version
|
||||||
|
|||||||
Reference in New Issue
Block a user