Browse Source

doc/Makefile.am: modify html output file to have a correct link to the gcc online documentation (yes that's nasty\!)

Nathalie Furmento 13 years ago
parent
commit
925885b6ab
1 changed files with 4 additions and 2 deletions
  1. 4 2
      doc/Makefile.am

+ 4 - 2
doc/Makefile.am

@@ -59,8 +59,10 @@ uninstall-local:
 #	vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
 
 # Rule to update documentation on web server. Should only be used locally.
-update-web:
-	scp starpu.pdf starpu.html sync:/web/runtime/html/StarPU
+PUBLISHHOST	:= sync
+update-web: starpu.html
+	sed -i 's/gcc\.html#Attribute-Syntax/http:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Attribute-Syntax.html#Attribute-Syntax/' starpu.html
+	scp starpu.pdf starpu.html $(PUBLISHHOST):/web/runtime/html/StarPU
 
 showcheck:
 	-cat /dev/null