"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile" between
codespell-1.16.0.tar.gz and codespell-1.17.1.tar.gz

About: codespell-.* codespell checks source code and other text files for common misspellings.

Makefile  (codespell-1.16.0):Makefile  (codespell-1.17.1)
SORT_ARGS := -f -b SORT_ARGS := -f -b
DICTIONARY := codespell_lib/data/dictionary.txt DICTIONARIES := codespell_lib/data/dictionary*.txt
PHONY := all check check-dictionary sort-dictionary trim-dictionary clean PHONY := all check check-dictionaries sort-dictionaries trim-dictionaries check- dictionary sort-dictionary trim-dictionary clean
all: check-dictionary codespell.1 all: check-dictionaries codespell.1
check-dictionary: check-dictionaries
sort-dictionary: sort-dictionaries
trim-dictionary: trim-dictionaries
codespell.1: codespell.1.include bin/codespell codespell.1: codespell.1.include bin/codespell
PYTHONPATH=. help2man ./bin/codespell --include codespell.1.include --no- info --output codespell.1 PYTHONPATH=. help2man ./bin/codespell --include codespell.1.include --no- info --output codespell.1
sed -i '/\.SS \"Usage/,+2d' codespell.1 sed -i '/\.SS \"Usage/,+2d' codespell.1
check-dictionary: check-dictionaries:
@if ! LC_ALL=C sort ${SORT_ARGS} -c ${DICTIONARY}; then \ @for dictionary in ${DICTIONARIES}; do \
echo "Dictionary not sorted. Sort with 'make sort-dictionary'"; \ if ! LC_ALL=C sort ${SORT_ARGS} -c $$dictionary; then \
exit 1; \ echo "Dictionary $$dictionary not sorted. Sort with 'make
fi sort-dictionaries'"; \
@if egrep -n "^\s*$$|\s$$|^\s" ${DICTIONARY}; then \ exit 1; \
echo "Dictionary contains leading/trailing whitespace and/or blan fi; \
k lines. Trim with 'make trim-dictionary'"; \ if egrep -n "^\s*$$|\s$$|^\s" $$dictionary; then \
exit 1; \ echo "Dictionary $$dictionary contains leading/trailing w
hitespace and/or blank lines. Trim with 'make trim-dictionaries'"; \
exit 1; \
fi; \
done
@if command -v pytest > /dev/null; then \
pytest codespell_lib/tests/test_dictionary.py; \
fi fi
sort-dictionary: sort-dictionaries:
LC_ALL=C sort ${SORT_ARGS} -u -o ${DICTIONARY} ${DICTIONARY} @for dictionary in ${DICTIONARIES}; do \
LC_ALL=C sort ${SORT_ARGS} -u -o $$dictionary $$dictionary; \
done
trim-dictionaries:
@for dictionary in ${DICTIONARIES}; do \
sed -E -i.bak -e 's/^[[:space:]]+//; s/[[:space:]]+$$//; /^$$/d'
$$dictionary && rm $$dictionary.bak; \
done
trim-dictionary: check-manifest:
sed -E -i.bak -e 's/^[[:space:]]+//; s/[[:space:]]+$$//; /^$$/d' ${DICTIO check-manifest
NARY} && rm ${DICTIONARY}.bak
pypi: pypi:
python setup.py sdist register upload python setup.py sdist register upload
clean: clean:
rm -rf codespell.1 rm -rf codespell.1
 End of changes. 6 change blocks. 
17 lines changed or deleted 34 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)