Add install method and makefile
[bootimage-initfs.git] / Makefile
1 CPFLAGS=-pv --parents
2 INSTALLPREFIX=SET_ME
3
4 all:
5
6 clean:
7
8 install: manifest
9         IFS=: ;\
10         cat $< | while read mode source; do \
11                 cp ${CPFLAGS} $${source} ${INSTALLPREFIX}/;\
12                 chmod $${mode} ${INSTALLPREFIX}/$${source} ;\
13         done
14
15 .PHONY: all clean install
16