Release script: Remove .d/.depend files from CD

This commit is contained in:
Arun Thomas
2010-06-01 14:44:36 +00:00
parent 6bbcab3ec4
commit 2fd1f18803
4 changed files with 29 additions and 20 deletions
+7 -4
View File
@@ -1,7 +1,6 @@
# Makefile for the kernel image.
u=/usr
CC= exec cc
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
MDEC= /usr/mdec
@@ -45,7 +44,7 @@ usage:
all: services image
image: includes
cd ../kernel && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS)
cd ../kernel && $(MAKE)
cd ../servers && $(MAKE) all
cd ../drivers && $(MAKE) all
installboot -image $@ $(PROGRAMS)
@@ -59,8 +58,8 @@ depend: includes
services: includes
cd ../kernel && $(MAKE)
cd ../servers && $(MAKE) all install
cd ../drivers && $(MAKE) all install
cd ../servers && $(MAKE) install
cd ../drivers && $(MAKE) install
libraries: includes
cd ../lib && sh ack_build.sh clean obj depend all install
@@ -86,3 +85,7 @@ clean:
cd ../drivers && $(MAKE) $@
rm -rf *.bak image *.iso *.iso.gz cdfdimage rootimage src
cleandepend::
cd ../kernel && $(MAKE) $@
cd ../servers && $(MAKE) $@
cd ../drivers && $(MAKE) $@
+2
View File
@@ -15,6 +15,8 @@ if [ $MAKEMAP -ne 0 ]; then
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
fi
make clean
make cleandepend
find . -name obj-ack -type d|xargs rm -rf
# Let man find the manpages
makewhatis /usr/man
makewhatis /usr/local/man