Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
29
cde/util/scripts/x11mf.sh
Executable file
29
cde/util/scripts/x11mf.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
# $XConsortium: x11mf.sh /main/2 1995/07/19 18:06:05 drk $
|
||||
|
||||
#
|
||||
# generate a Makefile within the build tree
|
||||
#
|
||||
# usage: x11mf [treedir]
|
||||
#
|
||||
|
||||
if [ x$1 != x ]; then
|
||||
tree=$1
|
||||
else
|
||||
tree=/x11
|
||||
fi
|
||||
|
||||
dir=`pwd`
|
||||
top=`(cd $tree; /bin/pwd)`
|
||||
intree=no
|
||||
|
||||
case $dir in
|
||||
$top*) intree=yes;;
|
||||
esac
|
||||
|
||||
if [ $intree != yes ]; then
|
||||
echo "$0: Must be underneath $tree"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
(cd ..; make SUBDIRS=`basename $dir` Makefiles)
|
||||
Reference in New Issue
Block a user