Qt-interest Archive, March 2008
make distclean of libs with DESTDIR set
Message 1 in thread
OK,
I have a project which has many plugins. The plugins are in a subdirectory
of the directory "plugins" which is a subdirectory of the project root. So
the directory structure looks like this:
$(ROOT)/plugins/plugin1
$(ROOT)/plugins/plugin2
etc
and the main source tree is in:
$(ROOT)/src
each of these has the DESTDIR of their project file set to have the result
end up in $(ROOT) and this works perfectly. However, I have noticed that
for libraries (and only libraries so far), "make distclean" does not remove
the target binary. It does all the other related cleanup, but the
target "libwhatever.so" is left behind.
Is there a reason for this? If not, can I change this functionality? I
cringe every time i type "rm *.so" during a release thinking "did I type
that correctly?" :-P.
Thanks,
Evan Teran
--
[ signature omitted ]