Release RMR packages at version 4.0.5
[ric-plt/lib/rmr.git] / doc / src / rtd / Makefile
index 768349d..a401f01 100644 (file)
@@ -19,7 +19,7 @@
 # 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
 %.md:: %.xfm   man_list.im
        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)
 
 man_list.im:: always
        bash gen_man_list.sh >man_list.im
 
-rel-notes.xfm: ../../../CHANGES
+rel-notes.xfm:: always
        ksh fmt_changes.ksh >rel-notes.xfm
 
 
@@ -56,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)
+       bash publish_man.sh;\
+       bash publish_lib.sh;\
        for f in *.rst;\
        do\
                if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\
@@ -74,13 +76,16 @@ verify : $(docs:%=%.rst)
                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
-       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: