make clean does not work

Bug #826840 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
euca2ools
Status tracked in Devel
2.0
Fix Released
Low
Unassigned
Devel
Fix Released
Low
Garrett Holmstrom

Bug Description

make clean fails in current trunk as it expects old style directory layout.

$ make clean
make[1]: Entering directory `/home/smoser/src/euca2ools/trunk.dist/euca2ools'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/home/smoser/src/euca2ools/trunk.dist/euca2ools'
make: *** [clean] Error 2
$ echo $?
2

package builders (ubuntu) often call make clean, and expect it to pass.

Ubuntu is currently carrying the following:
--- a/Makefile
+++ b/Makefile
@@ -62,8 +62,7 @@ install:
   @if [ -d $(BASH_COMPLETION) ]; then install -o root -m 644 $(UTILDIR)/* $(BASH_COMPLETION); fi

 distclean clean:
- @for subdir in $(SUBDIRS); do \
- (cd $$subdir && $(MAKE) $@) || exit $$? ; done
+ echo "Nothing to do for clean"

 uninstall:
   @for x in $(BINLIST); do \

Related branches

Changed in euca2ools:
assignee: nobody → Mitch Garnaat (mitch-garnaat)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.