File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11/* .docx
22/* .pdf
3+ /publish
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ TOOL_OOWRITER:=oowriter
1616#
1717# Derived Settings
1818#
19- PUBLISH_DIR: =../ publish
19+ PUBLISH_DIR: =publish
2020
2121#
2222# Various Tool Settings
@@ -33,10 +33,13 @@ all: $(TARGETS)
3333example : $(EXAMPLES )
3434
3535publish : $(TARGETS ) $(EXAMPLES )
36+ rm -rf $(PUBLISH_DIR )
37+ git clone -b docs
[email protected] :ARMmbed/uvisor.git
$(PUBLISH_DIR ) 38+
3639 cp $^ $(PUBLISH_DIR)
3740 git -C $(PUBLISH_DIR) add $^
3841 git -C $(PUBLISH_DIR) commit -a -m "released DOC & PDF documents"
39- git -C $(PUBLISH_DIR ) push origin bin
42+ git -C $(PUBLISH_DIR) push origin docs
4043
4144% .pdf : % .docx
4245 $(TOOL_OOWRITER ) --headless --convert-to pdf:writer_pdf_Export $^
You can’t perform that action at this time.
0 commit comments