# You should have received a copy of the CC0 Public Domain Dedication along
# with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
-printf '' > Makefile-conf
-
-TEMP=$(getopt -o 'h' --long 'prefix:,c++-includes-stdlib:,build:,enable-fast-install,help' -n 'download-playlist' -- "$@") || (echo 'Terminating.' >&2; exit 1)
+TEMP=$(getopt -o 'h' --long 'prefix:,build:,enable-fast-install,help' -n 'download-playlist' -- "$@") || (echo 'Terminating.' >&2; exit 1)
eval set -- "$TEMP"
unset TEMP
while true; do
case "$1" in
- '--c++-includes-stdlib')
- INCLUDES="$2"
- shift 2
- continue
- ;;
'--prefix')
PREFIX="$2"
shift 2
continue
;;
'-h'|'--help')
- echo '--prefix Install prefix'
- echo '--c++-includes-stdlib C++ standard library include files location'
+ echo '--prefix Install prefix'
shift
exit 0
;;
exit 1
fi
-if test "$INCLUDES" = ""; then
- echo 'Missing argument: --c++-includes-stdlib.' >&2
- echo 'See --help for more detail.' >&2
- exit 1
-fi
-
+printf '' > Makefile-conf
echo "PREFIX = $PREFIX" >> Makefile-conf
-echo "INCLUDES = $INCLUDES" >> Makefile-conf