aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
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