<commit_before>#! /bin/sh

# Adding the '-w' flag shortens the .d files by allowing
# more dependencies on one line. It may even speed up rmkdepend
# (picking 3000 somewhat arbitrarily).

trap "rm -f $1.tmp $1.tmp.bak; exit 1" 1 2 3 15

touch $1.tmp

bin/rmkdepend -f$1.tmp -Y -w 3000 -- $2 -- $3 > /dev/null 2>&1
depstat=$?
if [ $depstat -ne 0 ]; then
   rm -f $1.tmp $1.tmp.bak
   exit $depstat
fi

# adding .d file as target
isdict=`expr $3 : '.*/G__.*\.cxx'`
if test $isdict -ne 0 ; then
   sed -e 's@^\(.*\)\.o:@\1.d \1.cxx:@' -e 's@^#.*$@@' -e '/^$/d' $1.tmp
else
   sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' -e 's@^#.*$@@' -e '/^$/d' $1.tmp
fi
rm -f $1.tmp $1.tmp.bak

exit 0<commit_msg>fix that finally should solve the issue that deleted header files will break the Makefile.<commit_after>#! /bin/sh

# Adding the '-w' flag shortens the .d files by allowing
# more dependencies on one line. It may even speed up rmkdepend
# (picking 3000 somewhat arbitrarily).

trap "rm -f $1.tmp $1.tmp.bak; exit 1" 1 2 3 15

touch $1.tmp

bin/rmkdepend -f$1.tmp -Y -w 3000 -- $2 -- $3 > /dev/null 2>&1
depstat=$?
if [ $depstat -ne 0 ]; then
   rm -f $1.tmp $1.tmp.bak
   exit $depstat
fi

# adding .d file as target
isdict=`expr $3 : '.*/G__.*\.cxx'`
if test $isdict -ne 0 ; then
   sed -e 's@^\(.*\)\.o[ :]*\(.*\)@\1.d: $\(wildcard \2\)\n\1.cxx: \2@' -e 's@^#.*$@@' -e '/^$/d' $1.tmp
else
   sed -e 's@^\(.*\)\.o[ :]*\(.*\)@\1.d: $\(wildcard \2\)\n\1.o: \2@' -e 's@^#.*$@@' -e '/^$/d' $1.tmp
fi
rm -f $1.tmp $1.tmp.bak

exit 0
{'fraction_non_alphanumeric': 0.2462046204620462, 'fraction_numerical': 0.050165016501650166, 'mean_word_length': 2.461187214611872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3907237', 'n_tokens_mistral': 752, 'n_tokens_neox': 699, 'n_words': 223}