configure: ignore flags used by dh_make
This commit is contained in:
parent
b4b115df48
commit
9b5bd0ccf0
9
configure
vendored
9
configure
vendored
|
@ -7,7 +7,8 @@ prefix:,program-prefix:,exec-prefix:,lib-suffix:,\
|
|||
bindir:,libdir:,includedir:,datadir:,\
|
||||
host:,build:,\
|
||||
sbindir:,sysconfdir:,libexecdir:,localstatedir:,sharedstatedir:,mandir:,infodir:,\
|
||||
enable-dependency-tracking,disable-dependency-tracking\
|
||||
enable-dependency-tracking,disable-dependency-tracking,\
|
||||
disable-silent-rules,disable-maintainer-mode\
|
||||
-n './configure' -- "$@"`
|
||||
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
|
||||
|
||||
|
@ -129,6 +130,8 @@ while true; do
|
|||
# Ignore for autotools compat
|
||||
--host | --build ) shift; shift ;;
|
||||
--disable-dependency-tracking | --enable-dependency-tracking ) shift ;;
|
||||
# Ignore for debian compat
|
||||
--disable-silent-rules | --disable-maintainer-mode ) shift ;;
|
||||
-h | --help ) help; exit 0 ;;
|
||||
-- ) shift; break ;;
|
||||
* ) break ;;
|
||||
|
@ -269,6 +272,10 @@ cd ..
|
|||
cat << EOF > Makefile
|
||||
default:
|
||||
@sh -c "cd build; $exec_command"
|
||||
distclean: clean uninstall
|
||||
|
||||
test: default
|
||||
echo "make test not yet supported"
|
||||
%:
|
||||
@sh -c "cd build; $exec_command \"\$@\""
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue