make install part 2 - building configs
[melted] / Makefile
1 include config.mak
2
3 SUBDIRS = src/framework \
4 src/modules \
5 src/inigo \
6 src/valerie \
7 src/miracle \
8 src/humperdink \
9 src/albino
10
11 all clean depend:
12 list='$(SUBDIRS)'; \
13 for subdir in $$list; do \
14 $(MAKE) -C $$subdir $@; \
15 done
16
17 dist-clean:
18 rm mlt-config packages.dat config.mak; \
19 list='$(SUBDIRS)'; \
20 for subdir in $$list; do \
21 $(MAKE) -C $$subdir $@; \
22 done
23
24
25 install:
26 install -d "$(prefix)/bin"
27 install -d "$(prefix)/include"
28 install -d "$(prefix)/lib"
29 install -d "$(prefix)/share/mlt/modules"
30 install -c -m 755 mlt-config "$(bindir)"
31 install -m 644 packages.dat "$(prefix)/share/mlt/"
32 list='$(SUBDIRS)'; \
33 for subdir in $$list; do \
34 $(MAKE) -C $$subdir $@; \
35 done; \
36 /sbin/ldconfig || true
37