-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from meriac/master
Update uVisor RTOS docs publisher
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/*.docx | ||
/publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ TOOL_OOWRITER:=oowriter | |
# | ||
# Derived Settings | ||
# | ||
PUBLISH_DIR:=../publish | ||
PUBLISH_DIR:=publish | ||
|
||
# | ||
# Various Tool Settings | ||
|
@@ -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 $^ | ||
|
Binary file not shown.