mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
fix(make): clean was depending on unknown targets
There are no per-program-type docs clean, just made it depend on docs-all-clean. Also added the `docs-api|cli` target to the generated per-program-type make help. It was just missing, even though it existed.
This commit is contained in:
@@ -132,12 +132,7 @@ ${api_clean}:
|
||||
% endfor
|
||||
% endfor
|
||||
|
||||
% if agsuffix not in ["-api", "-cli"]:
|
||||
clean-all${agsuffix}: ${space_join(1)} docs-clean${agsuffix}
|
||||
% else:
|
||||
clean-all${agsuffix}: ${space_join(1)}
|
||||
% endif
|
||||
|
||||
cargo${agsuffix}: ${space_join(2)}
|
||||
publish${agsuffix}: | gen-all${agsuffix} ${space_join(4)}
|
||||
gen-all${agsuffix}: ${space_join(0)}
|
||||
@@ -164,6 +159,7 @@ docs${agsuffix}: ${' '.join(central_api_index(util.library_to_crate_name(a[0]))
|
||||
|
||||
help${agsuffix}:
|
||||
$(info gen-all${agsuffix} - make all ${make.target_name})
|
||||
$(info docs${agsuffix} - make all ${make.target_name} documentation)
|
||||
$(info clean-all${agsuffix} - delete all generated ${make.target_name})
|
||||
$(info cargo${agsuffix} - run cargo on all ${make.target_name}, use ARGS="args ..." to specify cargo arguments)
|
||||
$(info publish${agsuffix} - run cargo publish on all ${make.target_name} and remember successful ones with marker files)
|
||||
|
||||
Reference in New Issue
Block a user