| … | |
… | |
| 54 | ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? |
54 | ln -snf ../../$(RC_LIB)/sh/functions.sh $(DESTDIR)/etc/init.d || exit $$? |
| 55 | # Handle lib correctly |
55 | # Handle lib correctly |
| 56 | if test $(LIB) != "lib" ; then \ |
56 | if test $(LIB) != "lib" ; then \ |
| 57 | sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$? ; \ |
57 | sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$? ; \ |
| 58 | rm -f $(DESTDIR)/$(RC_LIB)/sh/functions.sh.bak ; \ |
58 | rm -f $(DESTDIR)/$(RC_LIB)/sh/functions.sh.bak ; \ |
|
|
59 | sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh || exit $$? ; \ |
|
|
60 | rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak ; \ |
| 59 | fi |
61 | fi |
| 60 | |
62 | |
| 61 | layout: |
63 | layout: |
| 62 | # Create base filesytem layout |
64 | # Create base filesytem layout |
| 63 | for x in $(KEEP_DIRS) ; do \ |
65 | for x in $(KEEP_DIRS) ; do \ |