diff options
author | Robert de Bath <rdebath@poboxes.com> | 1998-09-22 17:44:32 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:40:35 +0200 |
commit | 2233d47f9d89c107b6c425626d6eb2669363b055 (patch) | |
tree | 429df42a8f6ed7174868af04edd364cd778a4d54 /Makefile | |
parent | ec5f28e3f1400b5dacb88eda2d9db472a20b4349 (diff) | |
download | dev86-2233d47f9d89c107b6c425626d6eb2669363b055.tar.gz |
Import Dev86src-0.14.5.tar.gzv0.14.5
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -10,9 +10,10 @@ TARGETS= \ config other tests dis88 doselks bootblocks ld86r ELKSSRC= /usr/src/elks -PREFIX= /usr/bcc -BINDIR= /usr/bin -LIBDIR= $(PREFIX)/lib/bcc +PREFIX= /usr +LIBPRE= $(PREFIX)/bcc +BINDIR= $(PREFIX)/bin +LIBDIR= $(LIBPRE)/lib/bcc CFLAGS= -O # Some makes take the last of a list as the default ... @@ -34,7 +35,9 @@ realclean: make.fil: ifdef makefile.in ./ifdef -MU makefile.in >tmp.mak - sed -e "s:%PREFIX%:$(PREFIX):" \ + sed \ + -e "s:%PREFIX%:$(PREFIX):" \ + -e "s:%LIBPRE%:$(LIBPRE):" \ -e "s:%BINDIR%:$(BINDIR):" \ -e "s:%LIBDIR%:$(LIBDIR):" \ -e "s:%ELKSSRC%:$(ELKSSRC):" \ @@ -88,6 +91,13 @@ distribution: rm as86/as86.1 as86 gzip -f9 /tmp/Dist/as86-*.tar & + cd /tmp/linux-86 &&\ + VER=`cat Libc_version` &&\ + make -C bin86 grab &&\ + tar cf /tmp/Dist/bin86-$$VER.tar bin86 &&\ + make -C bin86 ungrab + gzip -f9 /tmp/Dist/bin86-*.tar & + cd /tmp &&\ VER=`cat linux-86/Libc_version` &&\ ln -s linux-86/libc libc-$$VER &&\ |