Details
Description
1. 'make distclean' leaves created files and directories
Running 'make distclean' after building xerces-c leaves a non-clean source tree, as can be seen from the following scenario:
axel@rantanplan:~> cp -R xml-xerces xml-xerces-test
axel@rantanplan:~> cd xml-xerces-test/c
axel@rantanplan:~/xml-xerces-test/c> export XERCESCROOT=`pwd`
axel@rantanplan:~/xml-xerces-test/c> cd src/xercesc
axel@rantanplan:~/xml-xerces-test/c/src/xercesc> ./runConfigure -p linux -c gcc -x g++
( 8< )
axel@rantanplan:~/xml-xerces-test/c/src/xercesc> make
( 8< )
axel@rantanplan:~/xml-xerces-test/c/src/xercesc> make distclean
( 8< )
axel@rantanplan:~/xml-xerces-test/c/src/xercesc> cd
axel@rantanplan:~> diff -r xml-xerces xml-xerces-test
Nur in xml-xerces-test/c: include.
Nur in xml-xerces-test/c: lib.
Nur in xml-xerces-test/c/obj: libxerces-c.so.26.map.
Nur in xml-xerces-test/c/obj: libxerces-depdom.so.26.map.
2. invalid printing of library-name before linking
Starting the linking step, the toplevel Makefile produces the following output:
Building /home/axel/xml-xerces-test/c/lib/.so.26.0
This is invalid, as the actual library to be made is /home/axel/xml-xerces-test/c/lib/libxerces-c.so.26.0.
I'll attach a patch that fixes both issues.
Axel