diff options
author | ribet | 2007-04-25 12:18:58 +0000 |
---|---|---|
committer | ribet | 2007-04-25 12:18:58 +0000 |
commit | 81e7b1262f04721de98c4c960554354e00988bf5 (patch) | |
tree | c23c1bbbd1999195b6b18daf8e075ecfa40f5130 /Makefile | |
parent | b4312b7c7a5ec9e886dd024b7c7796c23d019083 (diff) | |
download | mtc-81e7b1262f04721de98c4c960554354e00988bf5.zip mtc-81e7b1262f04721de98c4c960554354e00988bf5.tar.gz mtc-81e7b1262f04721de98c4c960554354e00988bf5.tar.bz2 mtc-81e7b1262f04721de98c4c960554354e00988bf5.tar.xz |
First packaging attempt, not yet working.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b892c14 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +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 + +$(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 |