Opened 11 years ago
Last modified 11 years ago
#2345 new defect
Make for directories without makefiles
Reported by: | warmerdam | Owned by: | mlucas |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Packaging | Version: | |
Severity: | minor | Keywords: | |
Cc: |
Description
I get lots of messages about attempting a make in directories with no target, like:
make[3]: Entering directory `/home/warmerdam/pkg/ossim-trunk/ossim/src/ossim/video' make[3]: *** No rule to make target `all'. Stop.
While these don't cause the build to fail, they are confusing when investigating a real problem. Changing this:
DIRECTORIES=$(wildcard *)
to this:
DIRECTORIES=$(dir $(wildcard */Makefile))
in the Makefile. Perhaps this would be worth incorporating.
Note:
See TracTickets
for help on using tickets.
The above change might also mean the following tests can be simplified: