aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorribet2007-04-26 09:45:59 +0000
committerribet2007-04-26 09:45:59 +0000
commit71d30241213ef44eafe93fba7134cd79a1851d50 (patch)
treedb248db08a5ae982951ca31f576372ea0ec7ce3a /Makefile
parentb2cebaa2cc1f6a0b391f520a014f4e5d49c868e8 (diff)
downloadmtc-71d30241213ef44eafe93fba7134cd79a1851d50.zip
mtc-71d30241213ef44eafe93fba7134cd79a1851d50.tar.gz
mtc-71d30241213ef44eafe93fba7134cd79a1851d50.tar.bz2
mtc-71d30241213ef44eafe93fba7134cd79a1851d50.tar.xz
Installation directory changed in order to keep includes directory unchanged, adding missing file from Backend directory
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