seb annotate Makefile @ rev 27

Small fix to seb and use default prebuilt kernel
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 13 19:56:17 2017 +0100 (2017-03-13)
parents
children
rev   line source
pankso@6 1 # Makefile for SliTaz Embedded OS
pankso@6 2 #
pankso@6 3
pankso@6 4 PREFIX?=/usr
pankso@6 5 DESTDIR?=
pankso@6 6
pankso@6 7 all:
pankso@6 8
pankso@6 9 # Installation
pankso@6 10
pankso@6 11 install:
pankso@6 12 install -m 0755 -d $(DESTDIR)/lib
pankso@6 13 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
pankso@6 14 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/seb
pankso@6 15 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/slitaz
pankso@6 16 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/mime/packages
pankso@6 17 install -m 0755 libseb.sh $(DESTDIR)/lib
pankso@6 18 install -m 0755 seb $(DESTDIR)$(PREFIX)/bin
pankso@6 19 cp -rf tools $(DESTDIR)$(PREFIX)/share/seb
pankso@6 20 cp -rf initfs $(DESTDIR)$(PREFIX)/share/seb
pankso@6 21 cp -rf packages $(DESTDIR)$(PREFIX)/share/seb
pankso@6 22 cp -rf README $(DESTDIR)$(PREFIX)/share/doc/slitaz/seb.txt
pankso@6 23 cp -rf data/mime/seb.xml $(DESTDIR)$(PREFIX)/share/mime/packages
pankso@6 24
pankso@6 25 install-examples:
pankso@6 26 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/seb
pankso@6 27 cp -rf examples $(DESTDIR)$(PREFIX)/share/seb
pankso@6 28
pankso@6 29 # Uninstallation
pankso@6 30
pankso@6 31 uninstall:
pankso@6 32 rm -f $(DESTDIR)/lib/libseb.sh
pankso@6 33 rm -f $(DESTDIR)$(PREFIX)/bin/seb
pankso@6 34 rm -rf $(DESTDIR)$(PREFIX)/share/seb
pankso@6 35
pankso@6 36 # Clean
pankso@6 37
pankso@6 38 clean:
pankso@6 39 rm -rf rootfs rootiso sebfs cache