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 1
1
/* .docx
2
2
/* .pdf
3
+ /publish
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ TOOL_OOWRITER:=oowriter
16
16
#
17
17
# Derived Settings
18
18
#
19
- PUBLISH_DIR: =../ publish
19
+ PUBLISH_DIR: =publish
20
20
21
21
#
22
22
# Various Tool Settings
@@ -33,10 +33,13 @@ all: $(TARGETS)
33
33
example : $(EXAMPLES )
34
34
35
35
publish : $(TARGETS ) $(EXAMPLES )
36
+ rm -rf $(PUBLISH_DIR )
37
+ git clone -b docs git@github.com:ARMmbed/uvisor.git $(PUBLISH_DIR )
38
+
36
39
cp $^ $(PUBLISH_DIR)
37
40
git -C $(PUBLISH_DIR) add $^
38
41
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
40
43
41
44
% .pdf : % .docx
42
45
$(TOOL_OOWRITER ) --headless --convert-to pdf:writer_pdf_Export $^
You can’t perform that action at this time.
0 commit comments