Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix bug in message type header file
[ric-plt/lib/rmr.git]
/
doc
/
src
/
rtd
/
Makefile
diff --git
a/doc/src/rtd/Makefile
b/doc/src/rtd/Makefile
index
3e1721b
..
dc8f4be
100644
(file)
--- a/
doc/src/rtd/Makefile
+++ b/
doc/src/rtd/Makefile
@@
-19,27
+19,27
@@
# This is a stand-alone make file as the RTD documentation is NOT built and packaged
# with the normal CMake process and thus isn't covered in the CMake files.
# This is a stand-alone make file as the RTD documentation is NOT built and packaged
# with the normal CMake process and thus isn't covered in the CMake files.
-# {X}fm is required to compile the source.
+# {X}fm is required to compile the source.
-%.rst:: %.xfm
man_list.im
+%.rst:: %.xfm
OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@
OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@
-%.ps:: %.xfm
man_list.im
+%.ps:: %.xfm
OUTPUT_TYPE=ps pfm $< $@
OUTPUT_TYPE=ps pfm $< $@
-%.txt:: %.xfm
man_list.im
+%.txt:: %.xfm
OUTPUT_TYPE=txt tfm $< $@
OUTPUT_TYPE=txt tfm $< $@
-%.md:: %.xfm
man_list.im
+%.md:: %.xfm
OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@
OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@
-docs = config-deploy developer-guide user-guide rel-notes overview
+%.html:: %.xfm
+ OUTPUT_TYPE=html hfm $< $@
-all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md)
+docs = config-deploy developer-guide rel-notes
-man_list.im:: always
- bash gen_man_list.sh >man_list.im
+all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md)
rel-notes.xfm:: always
ksh fmt_changes.ksh >rel-notes.xfm
rel-notes.xfm:: always
ksh fmt_changes.ksh >rel-notes.xfm
@@
-52,15
+52,19
@@
rel-notes.xfm:: always
$(docs:%=%.rst): always
$(docs:%=%.txt): always
$(docs:%=%.md): always
$(docs:%=%.rst): always
$(docs:%=%.txt): always
$(docs:%=%.md): always
+$(docs:%=%.html): always
# copy the .rst files which have changed into the docs (plural) directory at the root of the repo
publish : $(docs:%=%.rst)
# copy the .rst files which have changed into the docs (plural) directory at the root of the repo
publish : $(docs:%=%.rst)
+ bash publish_man.sh;\
+ bash publish_lib.sh;\
+ bash scrape_types.sh;\
for f in *.rst;\
do\
if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\
then\
for f in *.rst;\
do\
if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\
then\
-
cp -p $$f ../../../docs/
;\
+
sed 's/ *$$//' $$f >../../../docs/$${f##*/}
;\
fi;\
done
fi;\
done
@@
-74,13
+78,16
@@
verify : $(docs:%=%.rst)
fi;\
done
fi;\
done
+test:
+ bash publish_lib.sh;
+
# ditch any intermediate files
clean:
rm -f rel-notes.xfm *.sp *.ca
# ditch anything that can be rebuilt
nuke: clean
# ditch any intermediate files
clean:
rm -f rel-notes.xfm *.sp *.ca
# ditch anything that can be rebuilt
nuke: clean
- rm -f *.ps *.pdf *.rst *.md
+ rm -f *.ps *.pdf *.rst *.md
*.txt
# make hack to force a rule to always be out of date
always:
# make hack to force a rule to always be out of date
always: