wok diff nbs/stuff/Makefile.u @ rev 9874

slitaz-boot-script: fix path for bootlof script
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 23:45:00 2011 +0200 (2011-05-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nbs/stuff/Makefile.u	Mon May 16 23:45:00 2011 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +--- Makefile.org	2008-04-30 10:55:30.000000000 +0200
     1.5 ++++ Makefile	2008-04-30 11:03:26.000000000 +0200
     1.6 +@@ -8,17 +8,17 @@
     1.7 + all: nbsd $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) nbscat
     1.8 + 
     1.9 + install: all
    1.10 +-	mkdir -p /usr/lib
    1.11 +-	mkdir -p /usr/sbin
    1.12 +-	mkdir -p /usr/include
    1.13 +-	install -m 755 nbsd /usr/sbin/nbsd
    1.14 +-	install -m 755 nbscat /usr/bin/nbscat
    1.15 +-	install -m 755 nbscat8k /usr/bin/nbscat8k
    1.16 +-	install -m 644 nbs.h /usr/include/nbs.h
    1.17 +-	install -m 755 $(DYNAMIC_LIBRARY) /usr/lib
    1.18 +-	( cd /usr/lib ; ln -sf libnbs.so.1 libnbs.so )
    1.19 +-	install -m 755 $(STATIC_LIBRARY) /usr/lib
    1.20 +-	/sbin/ldconfig
    1.21 ++	mkdir -p $(DESTDIR)/usr/lib
    1.22 ++	mkdir -p $(DESTDIR)/usr/bin
    1.23 ++	mkdir -p $(DESTDIR)/usr/sbin
    1.24 ++	mkdir -p $(DESTDIR)/usr/include
    1.25 ++	install -m 755 nbsd $(DESTDIR)/usr/sbin/nbsd
    1.26 ++	install -m 755 nbscat $(DESTDIR)/usr/bin/nbscat
    1.27 ++	install -m 755 nbscat8k $(DESTDIR)/usr/bin/nbscat8k
    1.28 ++	install -m 644 nbs.h $(DESTDIR)/usr/include/nbs.h
    1.29 ++	install -m 755 $(DYNAMIC_LIBRARY) $(DESTDIR)/usr/lib
    1.30 ++	( cd $(DESTDIR)/usr/lib ; ln -sf libnbs.so.1 libnbs.so )
    1.31 ++	install -m 755 $(STATIC_LIBRARY) $(DESTDIR)/usr/lib
    1.32 + 
    1.33 + %.lo : %.c
    1.34 + 	$(CC) -fPIC $(CFLAGS) -o $@ -c $<