Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
M3
-
None
-
Any
Description
Using ad-hoc makefiles for example generation and doesn't seem the best way to go, since autotools machinery is avoided, and they don't generate in all circunstances.
I've changed it to use autotools, and to generate a proper simple staging Makefile, as expected.
Also included is the refactoring of the directory hierarchy, unfortunately I'm not able to generate a proper patch since directories were moved, so, I'm including the whole procedure:
(Some of the svn ops need to be forced):
cd cpp/examples
- Remove the current Makefiles, as they will be generated using autotools
svn remove examples/Makefile
svn remove examples/direct/Makefile
svn remove examples/fanout/Makefile
svn remove examples/pub-sub/Makefile
svn remove examples/request-response/Makefile
svn remove examples/xml-exchange/Makefile
- Bring the examples to the current directory
svn move README README.verify
svn move examples/README README
svn move examples/direct .
svn move examples/fanout .
svn move examples/pub-sub .
svn move examples/xml-exchange .
#After applying the attached patch
#Add autotools machinery
svn add makedist.mk
svn add examples/direct/Makefile.am
svn add examples/fanout/Makefile.am
svn add examples/pub-sub/Makefile.am
svn add examples/request-response/Makefile.am
svn add examples/xml-exchange/Makefile.am