Release script: Remove .d/.depend files from CD
This commit is contained in:
parent
6bbcab3ec4
commit
2fd1f18803
4 changed files with 29 additions and 20 deletions
31
Makefile
31
Makefile
|
@ -57,11 +57,11 @@ commands:
|
||||||
cd commands && $(MAKE) all
|
cd commands && $(MAKE) all
|
||||||
|
|
||||||
depend::
|
depend::
|
||||||
cd boot && $(MAKE) $@
|
cd boot && $(MAKE) depend
|
||||||
cd commands && $(MAKE) $@
|
cd commands && $(MAKE) depend
|
||||||
cd kernel && $(MAKE) $@
|
cd kernel && $(MAKE) depend
|
||||||
cd servers && $(MAKE) $@
|
cd servers && $(MAKE) depend
|
||||||
cd drivers && $(MAKE) $@
|
cd drivers && $(MAKE) depend
|
||||||
|
|
||||||
etcfiles::
|
etcfiles::
|
||||||
cd etc && $(MAKE) install
|
cd etc && $(MAKE) install
|
||||||
|
@ -70,24 +70,23 @@ all::
|
||||||
cd boot && $(MAKE) all
|
cd boot && $(MAKE) all
|
||||||
cd commands && $(MAKE) all
|
cd commands && $(MAKE) all
|
||||||
cd tools && $(MAKE) all
|
cd tools && $(MAKE) all
|
||||||
cd servers && $(MAKE) all
|
|
||||||
cd drivers && $(MAKE) all
|
|
||||||
|
|
||||||
install::
|
install::
|
||||||
cd boot && $(MAKE) all install
|
cd boot && $(MAKE) install
|
||||||
cd man && $(MAKE) all install makedb
|
cd man && $(MAKE) install makedb
|
||||||
cd commands && $(MAKE) all install
|
cd commands && $(MAKE) install
|
||||||
cd share && $(MAKE) all install
|
cd share && $(MAKE) install
|
||||||
cd tools && $(MAKE) all install
|
cd tools && $(MAKE) install
|
||||||
cd servers && $(MAKE) all install
|
|
||||||
cd drivers && $(MAKE) all install
|
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
cd boot && $(MAKE) clean
|
cd boot && $(MAKE) clean
|
||||||
cd commands && $(MAKE) clean
|
cd commands && $(MAKE) clean
|
||||||
cd tools && $(MAKE) clean
|
cd tools && $(MAKE) clean
|
||||||
cd servers && $(MAKE) clean
|
|
||||||
cd lib && sh ack_build.sh clean
|
cd lib && sh ack_build.sh clean
|
||||||
cd lib && sh gnu_build.sh clean
|
cd lib && sh gnu_build.sh clean
|
||||||
cd commands && $(MAKE) clean
|
|
||||||
cd test && $(MAKE) clean
|
cd test && $(MAKE) clean
|
||||||
|
|
||||||
|
cleandepend::
|
||||||
|
cd boot && $(MAKE) cleandepend
|
||||||
|
cd commands && $(MAKE) cleandepend
|
||||||
|
cd tools && $(MAKE) cleandepend
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
|
|
||||||
.include <minix.init.mk>
|
.include <minix.init.mk>
|
||||||
|
|
||||||
|
# MINIX: cleandepend works for SUBDIRs
|
||||||
|
TARGETS+= cleandepend
|
||||||
|
.PHONY: cleandepend
|
||||||
|
.NOTMAIN: cleandepend
|
||||||
|
|
||||||
.if !defined(NOSUBDIR) # {
|
.if !defined(NOSUBDIR) # {
|
||||||
|
|
||||||
.for dir in ${SUBDIR}
|
.for dir in ${SUBDIR}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Makefile for the kernel image.
|
# Makefile for the kernel image.
|
||||||
|
|
||||||
u=/usr
|
u=/usr
|
||||||
CC= exec cc
|
|
||||||
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
|
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
|
||||||
MDEC= /usr/mdec
|
MDEC= /usr/mdec
|
||||||
|
|
||||||
|
@ -45,7 +44,7 @@ usage:
|
||||||
all: services image
|
all: services image
|
||||||
|
|
||||||
image: includes
|
image: includes
|
||||||
cd ../kernel && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS)
|
cd ../kernel && $(MAKE)
|
||||||
cd ../servers && $(MAKE) all
|
cd ../servers && $(MAKE) all
|
||||||
cd ../drivers && $(MAKE) all
|
cd ../drivers && $(MAKE) all
|
||||||
installboot -image $@ $(PROGRAMS)
|
installboot -image $@ $(PROGRAMS)
|
||||||
|
@ -59,8 +58,8 @@ depend: includes
|
||||||
|
|
||||||
services: includes
|
services: includes
|
||||||
cd ../kernel && $(MAKE)
|
cd ../kernel && $(MAKE)
|
||||||
cd ../servers && $(MAKE) all install
|
cd ../servers && $(MAKE) install
|
||||||
cd ../drivers && $(MAKE) all install
|
cd ../drivers && $(MAKE) install
|
||||||
|
|
||||||
libraries: includes
|
libraries: includes
|
||||||
cd ../lib && sh ack_build.sh clean obj depend all install
|
cd ../lib && sh ack_build.sh clean obj depend all install
|
||||||
|
@ -86,3 +85,7 @@ clean:
|
||||||
cd ../drivers && $(MAKE) $@
|
cd ../drivers && $(MAKE) $@
|
||||||
rm -rf *.bak image *.iso *.iso.gz cdfdimage rootimage src
|
rm -rf *.bak image *.iso *.iso.gz cdfdimage rootimage src
|
||||||
|
|
||||||
|
cleandepend::
|
||||||
|
cd ../kernel && $(MAKE) $@
|
||||||
|
cd ../servers && $(MAKE) $@
|
||||||
|
cd ../drivers && $(MAKE) $@
|
||||||
|
|
|
@ -15,6 +15,8 @@ if [ $MAKEMAP -ne 0 ]; then
|
||||||
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
|
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
|
||||||
fi
|
fi
|
||||||
make clean
|
make clean
|
||||||
|
make cleandepend
|
||||||
|
find . -name obj-ack -type d|xargs rm -rf
|
||||||
# Let man find the manpages
|
# Let man find the manpages
|
||||||
makewhatis /usr/man
|
makewhatis /usr/man
|
||||||
makewhatis /usr/local/man
|
makewhatis /usr/local/man
|
||||||
|
|
Loading…
Reference in a new issue