blob: 34bcf8c12d45193dcd96d37f273b132aadc3ac7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
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_%=%)
$(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
|