* Make file creates projects dir in /usr/share/pdk. Moving it to /var/lib/moblin...
[moblin-image-creator.eeepc.git] / platforms / Makefile
blob1f55760ee2a81cc9728b322f1b952e0fc0954299
1 SHARE = ${DESTDIR}/usr/share/pdk
2 PLATFORM_DIR = ${SHARE}/platforms/
3 DIRS = $(shell find -maxdepth 1 -type d | grep "..$*" | grep -v /common)
5 all:
6 echo ${DIRS}
7 @for i in ${DIRS}; do make -C $$i; done
9 install:
10 @mkdir -p ${SHARE}/debootstrap-scripts
11 @cp common-apt/debootstrap-scripts/* ${SHARE}/debootstrap-scripts/
12 @for i in ${DIRS}; do make -C $$i install; done
13 @cp -a platforms.cfg ${PLATFORM_DIR}/
15 clean:
16 @for i in ${DIRS}; do make -C $$i clean; done