Index: Makefile.pre.in =================================================================== --- Makefile.pre.in (revision 68907) +++ Makefile.pre.in (working copy) @@ -369,7 +369,7 @@ $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-generate" LIBS="$(LIBS) -lgcov" run_profile_task: - ./$(BUILDPYTHON) $(PROFILE_TASK) + $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) build_all_use_profile: $(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use" @@ -1137,8 +1139,8 @@ clean: pycremoval find . -name '*.o' -exec rm -f {} ';' find . -name '*.s[ol]' -exec rm -f {} ';' - find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true - find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true + find ./build -name 'fficonfig.h' -exec rm -f {} ';' || true + find ./build -name 'fficonfig.py' -exec rm -f {} ';' || true profile-removal: find . -name '*.gc??' -exec rm -f {} ';'