[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Squeeze manual (html version)



Looking up e.g.

http://maintainer.skolelinux.org/debian-edu-doc/da/debian-edu-squeeze-manual.html

I noticed that the internal links are broken.

After adding a line to
trunk/src/debian-edu-doc/documentation/common/Makefile.common
internal links seem to be functional.

=============================================================
--- Makefile.common.svn	2012-02-29 11:10:09.136773697 +0100
+++ Makefile.common	2012-02-29 11:11:02.916097599 +0100
@@ -70,6 +70,7 @@
 		mkdir -p $$LANGPATH ; \
 		if [ -e $(name).$$f.html ] ; then \
 			cp $(name).$$f.html $$LANGPATH/$(name).html ; \
+			sed -i s/index.html/$(name).html/g $$LANGPATH/$(name).html ; \
 			if [ "$$f" = "en" ] ; then \
 			  mkdir -p $$LANGPATH/images/ ; \
 			  find images -maxdepth 1 -type f -exec cp \{\} $$LANGPATH/images/ \; ; \
=============================================================

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: