mirror of
https://github.com/dustinkirkland/byobu.git
synced 2024-11-13 19:50:07 -08:00
9d096a6843
- pep8 binary is gone from Debian, disable for now
25 lines
714 B
Makefile
Executable File
25 lines
714 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
%:
|
|
dh $@ --with python3
|
|
|
|
override_dh_auto_build:
|
|
# Check python syntax
|
|
# pep8 gone from Debian
|
|
#pep8 --verbose --repeat --ignore W191,E501,E117 usr/lib/byobu/include/config.py usr/lib/byobu/include/select-session.py
|
|
# Check shell syntax
|
|
sh -n `find . -type f -exec grep -l "^\#\!/bin/sh" '{}' \;`
|
|
# Check for bashisms in shell scripts
|
|
checkbashisms `find . -type f -exec grep -l "^\#\!/bin/sh" '{}' \;` 2>&1 | grep "^possible bashism in " | grep -v "sleep only takes one integer" | grep -v "sourced script with arguments" || true
|
|
dh_auto_build
|
|
|
|
override_dh_perl:
|
|
dh_perl -d
|
|
|
|
autoconf: clean
|
|
dh_testdir
|
|
cp debian/changelog ChangeLog
|
|
aclocal
|
|
automake --add-missing --copy
|
|
autoconf
|
|
|