From: Antonio Ospite Date: Wed, 28 Mar 2012 11:08:23 +0000 (+0200) Subject: doc: fix the "custom install targets" to handle DESTDIR X-Git-Tag: v0.1.2~1 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/67fd00b35aabe932cff75d1945b26db7020d1ec6?hp=67fd00b35aabe932cff75d1945b26db7020d1ec6 doc: fix the "custom install targets" to handle DESTDIR Stuff has to be installed/copied in an actual "install" target for Cmake to handle DESTDIR sanely, a custom target is not enough. So the story now is: - add a component-local install rule - make the "custom install target" invoke it - make sure the custom target has been executed at install time Maybe all this is not even worth the effort anymore and the "custom install targets" could go away altogether, their point was to have _them_ invoke at install time end exploit the dependencies chain. ---