aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 0f53036..bd0392b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-BASE_SUBDIR=Math Math/Bezier Tk/Zinc SVG SVG/SVG2zinc MTools
+BASE_SUBDIR=Math Math/Bezier Tk/Zinc SVG SVG/SVG2zinc SVG/SVG2zinc/Backend MTools
MTOOLS_SUBDIR=Adapters Anim GUI Comp SVG Transform Widget
@@ -11,17 +11,16 @@ 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_%=%)
+ 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/MTools/$(@:install_m_%=%)
- install src/MTools/$(@:install_m_%=%)/*.pm ${DESTDIR}${PREFIX}/share/perl5/mtools/MTools/$(@:install_m_%=%)
+ install -d ${DESTDIR}${PREFIX}/share/perl5/MTools/$(@:install_m_%=%)
+ install src/MTools/$(@:install_m_%=%)/*.pm ${DESTDIR}${PREFIX}/share/perl5/MTools/$(@:install_m_%=%)
install: all $(BASE_SUBDIR:%=install_%) $(MTOOLS_SUBDIR:%=install_m_%)
- install src/*.pm ${DESTDIR}${PREFIX}/share/perl5/mtools/
- 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 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/examples
install exemples/*.pl exemples/*.pm ${DESTDIR}${PREFIX}/share/doc/mtools/examples
install -d ${DESTDIR}${PREFIX}/share/doc/mtools/examples/data