sysv_makefile revision 240b85022b73af58a6d971cd3d05d54037d8f682
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#! /bin/sh
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Copyright 2000-2004 Apache Software Foundation
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Licensed under the Apache License, Version 2.0 (the "License");
240b85022b73af58a6d971cd3d05d54037d8f682nd# you may not use this file except in compliance with the License.
240b85022b73af58a6d971cd3d05d54037d8f682nd# You may obtain a copy of the License at
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# http://www.apache.org/licenses/LICENSE-2.0
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Unless required by applicable law or agreed to in writing, software
240b85022b73af58a6d971cd3d05d54037d8f682nd# distributed under the License is distributed on an "AS IS" BASIS,
240b85022b73af58a6d971cd3d05d54037d8f682nd# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
240b85022b73af58a6d971cd3d05d54037d8f682nd# See the License for the specific language governing permissions and
240b85022b73af58a6d971cd3d05d54037d8f682nd# limitations under the License.
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
743ea1b7b30f30520045ef04a3475f4ec24be030sascha# The build environment was provided by Sascha Schumann.
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
743ea1b7b30f30520045ef04a3475f4ec24be030sascha# cwd must be top_srcdir
743ea1b7b30f30520045ef04a3475f4ec24be030saschatest -f build/sysv_makefile || exit 2
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
743ea1b7b30f30520045ef04a3475f4ec24be030saschatest -f bsd_converted || exit 1
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
d959500c69e2205116ac8db9149055525725c574saschatmpfile=`mktemp /tmp/sysv_makefile.XXXXXX 2>/dev/null` || tmpfile="tmp.$$"
743ea1b7b30f30520045ef04a3475f4ec24be030saschafor i in build/*.mk; do
743ea1b7b30f30520045ef04a3475f4ec24be030sascha sed 's/^\.include "\(.*\)"/include \1/' $i >$tmpfile \
743ea1b7b30f30520045ef04a3475f4ec24be030sascha && cp $tmpfile $i
743ea1b7b30f30520045ef04a3475f4ec24be030saschadone
743ea1b7b30f30520045ef04a3475f4ec24be030sascharm -f $tmpfile
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
743ea1b7b30f30520045ef04a3475f4ec24be030sascharm bsd_converted
743ea1b7b30f30520045ef04a3475f4ec24be030saschaexit 0