Ok, partial Makefile fix done, not sure it if all works.
For users the biggest change is no need to "make doc".

The concept I am trying to implement is that generated documentation
goes into the repo. So generating it is for developers only, not for users.
Users just get the docs straight out of the repository.

This change is not complete with the latest commit because
AFTER the install is done the following happens:

        flx_libcontents --html > tmp1.html
        flx_libindex --html > tmp2.html
        flx_gramdoc --html > tmp3.html
        sudo cp tmp1.html 
/usr/local/lib/felix/felix-latest/web/flx_libcontents.html
        sudo cp tmp2.html 
/usr/local/lib/felix/felix-latest/web/flx_libindex.html
        sudo cp tmp3.html /usr/local/lib/felix/felix-latest/web/flx_gramdoc.html
        rm tmp1.html tmp2.html tmp3.html

The three tools flx_libcontents, flx_libindex, and flx_gramdoc

(a) must be installed in the PATH for these command lines to work.
This is absurd since they're in build/release/tools and build/release/bin.
The ArchLinux packaging runs them from the ${DISTDIR} which is
post installation. But there's no need!

(b) they read the installed library. So the library HAS to be installed
at the final install point. In the ArchLinux install this is NOT the case.
So these tools WILL do the wrong thing in that package build.

the reason is simple:

var dir =  Filename::join (#(Config::config).FLX_INSTALL_DIR, "lib", "std");

i.e. these tools read a fixed target. So it's pretty easy to fix this and commit
the results to the repo to complete the removal of doc generation from
the user build process (which will make the ArchLinux packaging work
properly).

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to