Hi
When I type 'make' in an already built top-level build directory, I see
something like (see at the end). In particular the .ht files are added
twice.
In the respective Makefile, I find...
==== src/paste/Makefile.in ===
all:
(cd $(THTDIR); \
rm -f ht.db ; \
${HTADD} *.ht)
if [ -f copy_nphts ] ; then \
${MAKE} copy-nphts ; \
else \
$(MAKE) nphts ; \
fi
if [ -f copy_gphts ] ; then ${MAKE} copy-gphts ; fi
(cd $(THTDIR); \
rm -f ht.db ; \
${HTADD} *.ht *.pht )
===============================
Is that really necessary? Is it even necessary to regenerated the
database in each make?
Unfortunately, I don't quite understand this logic here since
'copy_nphts' also appears in configure.ac and src/scripts/mkdist.sh.
It's probably to do with the .spkg generation.
Can that redundancy be easily removed? Make should not do more than
necessary.
Ralf
===============================
part of the log from 'cd fricas-build && make' follows.
===============================
cd paste && make
make[2]: Entering directory `/tmp/hemmecke/build/fricas/src/paste'
(cd
/home/hemmecke/tmp/build/fricas/target/x86_64-unknown-linux/share/hypertex/pages;
\
rm -f ht.db ; \
/home/hemmecke/tmp/build/fricas/target/x86_64-unknown-linux/bin/htadd
*.ht)
Added 2 pages and/or macros from algebra.ht
Added 3 pages and/or macros from ALIST.ht
Added 3 pages and/or macros from ARRAY1.ht
...
Added 3 pages and/or macros from ZDSOLVE.ht
Added 3 pages and/or macros from ZLINDEP.ht
if [ -f copy_nphts ] ; then \
make copy-nphts ; \
else \
make nphts ; \
fi
make[3]: Entering directory `/tmp/hemmecke/build/fricas/src/paste'
make[3]: Nothing to be done for `nphts'.
make[3]: Leaving directory `/tmp/hemmecke/build/fricas/src/paste'
if [ -f copy_gphts ] ; then make copy-gphts ; fi
(cd
/home/hemmecke/tmp/build/fricas/target/x86_64-unknown-linux/share/hypertex/pages;
\
rm -f ht.db ; \
/home/hemmecke/tmp/build/fricas/target/x86_64-unknown-linux/bin/htadd
*.ht *.pht )
Added 2 pages and/or macros from algebra.ht
Added 3 pages and/or macros from ALIST.ht
Added 3 pages and/or macros from ARRAY1.ht
...
Added 56 pages and/or macros from ZDSOLVE.pht
Added 16 pages and/or macros from ZLINDEP.pht
make[2]: Leaving directory `/tmp/hemmecke/build/fricas/src/paste'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---