Bläddra i källkod

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

Nathalie Furmento 14 år sedan
förälder
incheckning
986c875e83
1 ändrade filer med 3 tillägg och 1 borttagningar
  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