#!/bin/sh make install # remove everything already provided by libxml2 rm /bin/xml2-config rm /bin/xmlcatalog rm /bin/xmllint rm /lib/libxml2.la rm /lib/xml2Conf.sh rm /lib/pkgconfig/libxml-2.0.pc rm -fr /lib/cmake rm -fr /include/libxml2 rm -fr /share/aclocal/libxml.m4 rm -fr /share/gtk-doc rm -fr /share/doc/libxml2-$(echo $version | sed 's/^v//') # remove possible leading v rm /share/man/man1/xml* rm /share/man/man3/libxml.3