Skip to content

Commit

Permalink
Merge pull request #295 from meriac/master
Browse files Browse the repository at this point in the history
Update uVisor RTOS docs publisher
  • Loading branch information
AlessandroA authored Jul 22, 2016
2 parents ce0c271 + a2f61b8 commit 7c5b48c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/api/manual/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/*.docx
/*.pdf
/publish
7 changes: 5 additions & 2 deletions docs/api/manual/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TOOL_OOWRITER:=oowriter
#
# Derived Settings
#
PUBLISH_DIR:=../publish
PUBLISH_DIR:=publish

#
# Various Tool Settings
Expand All @@ -33,10 +33,13 @@ all: $(TARGETS)
example: $(EXAMPLES)

publish: $(TARGETS) $(EXAMPLES)
rm -rf $(PUBLISH_DIR)
git clone -b docs [email protected]:ARMmbed/uvisor.git $(PUBLISH_DIR)

cp $^ $(PUBLISH_DIR)
git -C $(PUBLISH_DIR) add $^
git -C $(PUBLISH_DIR) commit -a -m "released DOC & PDF documents"
git -C $(PUBLISH_DIR) push origin bin
git -C $(PUBLISH_DIR) push origin docs

%.pdf : %.docx
$(TOOL_OOWRITER) --headless --convert-to pdf:writer_pdf_Export $^
Expand Down
Binary file added docs/api/manual/template/pandoc-template.docx
Binary file not shown.

0 comments on commit 7c5b48c

Please sign in to comment.