File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,11 @@ sm_built_path := $(sm_site)/$(sm_docset)
1919.PHONY : all
2020all : clean pre-build build post-build test
2121
22+ .PHONY : pre-build
2223pre-build :
2324 cd src && python fix_html.py
2425
26+ .PHONY : build
2527build :
2628 # Shared
2729 mkdir -p $(out_folder )
3335 cd $(sm_site ) && dashing build
3436 mv $(sm_built_path ) $(out_folder )
3537
38+ .PHONY : post-build
3639post-build :
3740 cd src && python fix_index.py
3841
4346 [ -f " $( sm_site) /dashing.json" ] && rm $(sm_site ) /dashing.json || true
4447 git restore --recurse-submodules $(st_submodule ) $(sm_submodule )
4548
49+ .PHONY : zip
4650zip :
4751 cd $(out_folder ) && tar -czvf $(st_docset ) .tgz $(st_docset )
4852 cd $(out_folder ) && tar -czvf $(sm_docset ) .tgz $(sm_docset )
5155test :
5256 cd test && python -m unittest
5357
58+ .PHONY : install-linux
5459install-linux :
5560 cp -r $(out_folder ) /* $(install_path_linux )
You can’t perform that action at this time.
0 commit comments