Skip to content

Commit 7c5b48c

Browse files
authored
Merge pull request #295 from meriac/master
Update uVisor RTOS docs publisher
2 parents ce0c271 + a2f61b8 commit 7c5b48c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/api/manual/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/*.docx
22
/*.pdf
3+
/publish

docs/api/manual/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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)
3333
example: $(EXAMPLES)
3434

3535
publish: $(TARGETS) $(EXAMPLES)
36+
rm -rf $(PUBLISH_DIR)
37+
git clone -b docs git@github.com: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 $^
35.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)