wok-6.x diff nbs/stuff/Makefile.u @ rev 1575

Up tazusb (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 15 15:06:40 2008 +0000 (2008-10-15)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nbs/stuff/Makefile.u	Wed Oct 15 15:06:40 2008 +0000
     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 $<