There is only one humane way to stop migration into Europe and this is to prevent the boats setting out in the first place from north Africa and the Middle East and to strengthen the inland boundaries and customs posts around the EU.
Otherwise, by using the false-humanitarian — or should one say, the hypocritical — policy of saving migrants crossing the Mediterranean in unsafe boats, the EU only encourages an even higher flow of migrants, particularly from Africa where the birth rate is far higher than replacement. MIllions, if not tens of millions would be able to enter the EU countries if the present cowardly policy is continue with. By diluting the average skill level, the EU does itself nor any other country a favour.
The only way to be genuinely helpful to countries in Africa and elsewhere is to allow free trade in whatever goods and services they can offer, and thus develop. Out of this comes prosperity, and out of prosperity comes education, leisure and research, the necessary ingredients for the self-development of any culture. At present the EU’s food and agricultural policy is preventing this, making the civil servants and politicians of the EU to be hypocrites of the first water.