BASE_SUBDIR=Math Math/Bezier Tk/Zinc SVG SVG/SVG2zinc MTools MTOOLS_SUBDIR=Adapters Anim GUI Comp SVG Transform Widget all: clean: rm -f *~ distclean: clean fakeroot make -f debian/rules clean $(BASE_SUBDIR:%=install_%): install -d ${DESTDIR}${PREFIX}/share/perl5/mtools/$(@:install_%=%) install src/$(@:install_%=%)/*.pm ${DESTDIR}${PREFIX}/share/perl5/mtools/$(@:install_%=%) $(MTOOLS_SUBDIR:%=install_%): install -d ${DESTDIR}${PREFIX}/share/perl5/mtools/MTools/$(@:install_%=%) install src/MTools/$(@:install_%=%)/*.pm ${DESTDIR}${PREFIX}/share/perl5/mtools/MTools/$(@:install_%=%) install: all $(BASE_SUBDIR:%=install_%) $(MTOOLS_SUBDIR:%=install_%) install -d ${DESTDIR}${PREFIX}/share/perl5/mtools/SVG/SVG2zinc/Backend install src/SVG/SVG2zinc/Backend/*.pm.k ${DESTDIR}${PREFIX}/share/perl5/mtools/SVG/SVG2zinc/Backend install -d ${DESTDIR}${PREFIX}/share/doc/mtools/examples install exemples/*.pl exemples/*.pm ${DESTDIR}${PREFIX}/share/doc/mtools/examples install -d ${DESTDIR}${PREFIX}/share/doc/mtools/examples/data install exemples/data/*.svg exemples/data/*.png ${DESTDIR}${PREFIX}/share/doc/mtools/examples/data #emptycursor.mask #emptycursor.xbm