Index: trunk/doc/user/09_appendix/src/Makefile =================================================================== --- trunk/doc/user/09_appendix/src/Makefile (revision 603) +++ trunk/doc/user/09_appendix/src/Makefile (revision 604) @@ -1,6 +1,9 @@ CAMVRND = ../../../../src/camv-rnd CLEANFILES=../action_details.html ../action_reference.html ../formats.html ../dialogs.html +include ../../../../Makefile.conf +include $(LIBRND_MAK) + all: $(CLEANFILES) ../action_details.html: ./action_compiler.sh ../action_src/*.html librnd_acts @@ -17,7 +20,7 @@ ./gen_formats.sh > ../formats.html ../dialogs.html: $(CAMVRND) ./gen_dialogs.sh ./dialog_extra.awk - ./gen_dialogs.sh > ../dialogs.html + LIBRND_LIBDIR="$(LIBRND_LIBDIR)" ./gen_dialogs.sh > ../dialogs.html FORCE: Index: trunk/doc/user/09_appendix/src/gen_dialogs.sh =================================================================== --- trunk/doc/user/09_appendix/src/gen_dialogs.sh (revision 603) +++ trunk/doc/user/09_appendix/src/gen_dialogs.sh (revision 604) @@ -2,6 +2,13 @@ trunk=../../../.. +if test -z "$LIBRND_LIBDIR" +then +# when not run from the Makefile + LIBRND_LIBDIR=`cd $trunk/doc/developer/packaging && make -f librnd_root.mk libdir` +fi + + # exceptions dlgtbl=' BEGIN { @@ -33,59 +40,9 @@