-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (22 loc) · 952 Bytes
/
Makefile
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
31
32
# Makefile
install:
# Installing main scripts
install -m 755 ./*.sh ${DESTDIR}/usr/local/sbin
install -m 755 voyage.update ${DESTDIR}/usr/local/sbin
install -m 755 ./overlay_fs/usr/local/sbin/* ${DESTDIR}/usr/local/sbin
# install -d -m 755 $(DESTDIR)/etc/voyage-profiles
# install -m 644 voyage-profiles/* $(DESTDIR)/etc/voyage-profiles
mkdir ${DESTDIR}/etc
cp -r overlay_fs/etc/* ${DESTDIR}/etc
find $(DESTDIR) -name ".svn" -exec rm -rf '{}' '+'
find $(DESTDIR) -name "*.bak" -exec rm -rf '{}' '+'
mkdir -p ${DESTDIR}/mnt/usbstick
#####################################
# unused
# Installing sub scripts
#install -d -m 755 $(DESTDIR)/usr/share/make-live/scripts
#install -m 755 scripts/* $(DESTDIR)/usr/share/make-live/scripts
# Installing manpage
#install -D -m 644 make-live.8 $(DESTDIR)/usr/share/man/man8/make-live.8
# Installing configuration file
#install -D -m 644 make-live.default $(DESTDIR)/etc/default/make-live