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
Release RMR packages at version 4.0.5
[ric-plt/lib/rmr.git]
/
doc
/
src
/
rtd
/
Makefile
diff --git
a/doc/src/rtd/Makefile
b/doc/src/rtd/Makefile
index
a714e6a
..
a401f01
100644
(file)
--- a/
doc/src/rtd/Makefile
+++ b/
doc/src/rtd/Makefile
@@
-19,28
+19,32
@@
# 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
+%.rst:: %.xfm
man_list.im
OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@
OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@
-%.ps:: %.xfm
+%.ps:: %.xfm
man_list.im
OUTPUT_TYPE=ps pfm $< $@
OUTPUT_TYPE=ps pfm $< $@
-%.txt:: %.xfm
+%.txt:: %.xfm
man_list.im
OUTPUT_TYPE=txt tfm $< $@
OUTPUT_TYPE=txt tfm $< $@
-%.md:: %.xfm
+%.md:: %.xfm
man_list.im
OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@
OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@
-docs = config-deploy developer-guide
user-guide
rel-notes overview
+docs = config-deploy developer-guide rel-notes overview
all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md)
all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md)
-rel-notes.xfm: ../../../CHANGES
+man_list.im:: always
+ bash gen_man_list.sh >man_list.im
+
+rel-notes.xfm:: always
ksh fmt_changes.ksh >rel-notes.xfm
ksh fmt_changes.ksh >rel-notes.xfm
+
# we force the docs to always be out of date so that we don't have to
# manage the list of man pages and other files that are read to generate the
# output needed for RTD.
# we force the docs to always be out of date so that we don't have to
# manage the list of man pages and other files that are read to generate the
# output needed for RTD.
@@
-52,6
+56,8
@@
$(docs:%=%.md): 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;\
for f in *.rst;\
do\
if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\
for f in *.rst;\
do\
if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\
@@
-70,13
+76,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: