Explorar o código

Makefile.am: qmake & automake have difficulties working together. Let's try to fix that

Nathalie Furmento %!s(int64=15) %!d(string=hai) anos
pai
achega
986c875e83
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Makefile.am

+ 3 - 1
Makefile.am

@@ -65,13 +65,15 @@ if BUILD_STARPU_TOP
 all-local:
 	cd starpu-top ; $(QMAKE) ; $(MAKE)
 clean-local:
-	cd starpu-top ; $(MAKE) clean
+	cd starpu-top ; $(QMAKE) ; $(MAKE) clean ; $(RM) Makefile
 # TODO: resources
 install-exec-local:
 	$(MKDIR_P) $(DESTDIR)$(bindir)
 	$(INSTALL_STRIP_PROGRAM) starpu-top/StarPU-Top $(DESTDIR)$(bindir)
 uninstall-local:
 	$(RM) $(DESTDIR)$(bindir)/StarPU-Top
+	$(RM) starpu-top/StarPU-Top
+	$(RM) starpu-top/Makefile
 endif
 
 if STARPU_HAVE_WINDOWS