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