mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
make.sh: Don't generate any documentation in the source directory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
24
make.sh
24
make.sh
@@ -2083,30 +2083,6 @@ build_system() {
|
||||
buildpackages() {
|
||||
local LOGFILE="${LOG_DIR}/_build.packages.log"
|
||||
|
||||
echo "... see detailed log in _build.*.log files" >> $LOGFILE
|
||||
|
||||
|
||||
# Generating list of packages used
|
||||
print_line "Generating packages list from logs"
|
||||
rm -f $BASEDIR/doc/packages-list
|
||||
for i in `ls -1tr $BASEDIR/log/[^_]*`; do
|
||||
if [ "$i" != "$BASEDIR/log/FILES" -a -n $i ]; then
|
||||
echo "* `basename $i`" >>$BASEDIR/doc/packages-list
|
||||
fi
|
||||
done
|
||||
echo "== List of softwares used to build $NAME Version: $VERSION ==" > $BASEDIR/doc/packages-list.txt
|
||||
grep -v 'configroot$\|img$\|initrd$\|initscripts$\|installer$\|install$\|setup$\|pakfire$\|stage2$\|smp$\|tools$\|tools1$\|tools2$\|.tgz$\|-config$\|_missing_rootfile$\|install1$\|install2$\|pass1$\|pass2$\|pass3$' \
|
||||
$BASEDIR/doc/packages-list | sort >> $BASEDIR/doc/packages-list.txt
|
||||
rm -f $BASEDIR/doc/packages-list
|
||||
# packages-list.txt is ready to be displayed for wiki page
|
||||
print_status DONE
|
||||
|
||||
# Update changelog
|
||||
cd $BASEDIR
|
||||
[ -z $GIT_TAG ] || LAST_TAG=$GIT_TAG
|
||||
[ -z $LAST_TAG ] || EXT="$LAST_TAG..HEAD"
|
||||
git log -n 500 --no-merges --pretty=medium --shortstat $EXT > $BASEDIR/doc/ChangeLog
|
||||
|
||||
# Create images for install
|
||||
lfsmake2 cdrom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user