Commit 5d200d40 authored by Matthias Vallentin's avatar Matthias Vallentin

Get rid of now obsolete configured target.

parent 7e31d450
......@@ -202,33 +202,25 @@ fi
echo "DIRS :=$workdirs\n" > $sourcedir/Makefile
read -d '' makefile <<"EOT"
all: configured
all:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
configured:
@for i in $(DIRS); do \\
test -d $$i || \\
( echo "Error: No build directory found. Did you run configure?" && exit 1 ); \\
test -e $$i/Makefile || \\
( echo "Error: No Makefile in build directory found. Did you run configure?" && exit 1 ); \\
done
test: configured
test:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
install:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
uninstall: configured
uninstall:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
clean: configured
clean:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
distclean:
rm -rf $(DIRS) Makefile
.PHONY: all configured test install uninstall clean distclean
.PHONY: all test install uninstall clean distclean
EOT
echo "$makefile" >> $sourcedir/Makefile
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment