Permalink
Browse files

configure: ignore flags used by dh_make

  • Loading branch information...
mar-v-in committed Aug 22, 2017
1 parent b4b115d commit 9b5bd0ccf0cdeb49f900450df8eea41c6a0dea75
Showing with 8 additions and 1 deletion.
  1. +8 −1 configure
View
@@ -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

0 comments on commit 9b5bd0c

Please sign in to comment.