1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 21:04:18 +01:00

Remove WindowMaker/mkMakefile script.

It was used to generate WindowMaker/Makefile.am, but hasn't been touched
since 1999.  Meanwhile, WindowMaker/Makefile.am has been changed manually
a number of times.
This commit is contained in:
Doug Torrance
2017-01-20 17:01:56 -05:00
committed by Carlos R. Mafra
parent d48a37060c
commit ad590811f6

View File

@@ -1,63 +0,0 @@
#!/bin/sh
#
# Creates a Makefile.am file containing all the stuff to install
# wmaker data
#
DIRS="Backgrounds Defaults IconSets Icons Pixmaps Styles Themes"
FILE=Makefile.am
spit() {
echo -n "$*" >> $FILE
}
spitln() {
echo "$*" >> $FILE
}
rm -f $FILE
spitln SUBDIRS = $DIRS
spitln
spitln prefsdatadir = '$(pkgdatadir)'
spitln
EXCEPT="Makefile.am Makefile.in Makefile mkMakefile $FILE"
spit prefsdata_DATA =
FILES=`ls -1|grep -v \~`
FILES=`echo $FILES`
for f in $FILES; do
ok=1
for i in $EXCEPT; do
if test "$i" = "$f"; then
ok=0
break
fi
done
if [ -f $f -a $ok = 1 ]; then
spitln \\
spit " $f"
fi
done
spitln
spitln
spitln EXTRA_DIST = '$(prefsdata_DATA)' mkMakefile
spitln
spitln