diff options
author | Peter Baumann <p.baumann@jacobs-university.de> | 2010-07-28 09:02:33 +0200 |
---|---|---|
committer | www-data <www-data@ubuntu.localdomain> | 2010-07-30 11:24:16 +0200 |
commit | 0fa3752a9cdb237407d90b4cb47956972ecca31b (patch) | |
tree | 2de785c2e74958e4af64d36aa88056b375f71934 | |
parent | 4f03aa45c3a248df98263d2a51e912daf52c048b (diff) | |
download | rasdaman-upstream-0fa3752a9cdb237407d90b4cb47956972ecca31b.tar.gz rasdaman-upstream-0fa3752a9cdb237407d90b4cb47956972ecca31b.tar.xz rasdaman-upstream-0fa3752a9cdb237407d90b4cb47956972ecca31b.zip |
proper installation of C++ example Makefile and documentation
-rw-r--r-- | manuals_and_examples/Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/manuals_and_examples/Makefile.am b/manuals_and_examples/Makefile.am index 743979e..6233e65 100644 --- a/manuals_and_examples/Makefile.am +++ b/manuals_and_examples/Makefile.am @@ -27,10 +27,13 @@ nobase_dist_pkgdata_DATA=examples/images/* examples/c++/* \ dest_Makefile=$(DESTDIR)$(pkgdatadir)/examples/c++/Makefile -all: doc # examples - -doc: doxygen-all.cfg doxygen-api.cfg doxygen-basedbms.cfg +install-data-hook: + -# Set the rasdaman installation root to allow Make finding + -# include/ and lib/ for the C++ examples. + sed 's|~~~rmanhome~~~|$(prefix)|' <$(dest_Makefile) >$(dest_Makefile).new + mv $(dest_Makefile).new $(dest_Makefile) + -# install documentation (cd ..; doxygen manuals_and_examples/doxygen-all.cfg) (cd ..; doxygen manuals_and_examples/doxygen-api.cfg) (cd ..; doxygen manuals_and_examples/doxygen-basedbms.cfg) - + mv manuals/ $(DESTDIR)$(pkgdatadir)/doc |