Procházet zdrojové kódy

doc/Makefile.am: fix file deletions, some systems would complain if files do not exist

Nathalie Furmento před 12 roky
rodič
revize
c4c84125f8
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      doc/Makefile.am

+ 3 - 1
doc/Makefile.am

@@ -95,7 +95,9 @@ chapters/version.texi: $(chapters)
 	fi
 	@echo "@set EDITION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
 	@echo "@set VERSION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
-	@$(RM) timestamp timestamp_updated timestamp_updated_month
+	@-for f in timestamp timestamp_updated timestamp_updated_month ; do \
+		if test -f $$f ; then $(RM) $$f ; fi ;\
+	done
 
 #$(top_srcdir)/doc/starpu.texi: vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
 #vector_scal_c.texi: $(top_srcdir)/examples/basic_examples/vector_scal.c