Browse Source

Another fix to link generation.

svn path=/trunk/; revision=11555
pull/8/head
Reinhard Müller 11 years ago
parent
commit
7e4d264a79
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      news/Makefile

+ 1
- 1
news/Makefile View File

@@ -6,7 +6,7 @@ FILES := ../news/*/*.xhtml ../projects/*/*.xhtml
# Trying to keep things readable
ACTUAL_PREREQUISITE = ../$$(echo $* | sed -e 's,___,/,g').xhtml
FIND_XHTML = ../$$(echo $$FILE | sed -e 's,___,/,g').xhtml
TRANSFORM = xsltproc --stringparam link $$(echo $$FILE | sed -e 's,..,,' | sed -e 's,.xhtml,.html,') $(XSL_STYLESHEET) $$FILE > $@
TRANSFORM = xsltproc --stringparam link $$(echo $$FILE | sed -e 's,\.\.,,' | sed -e 's,..\.xhtml,html,') $(XSL_STYLESHEET) $$FILE > $@

# Select files
sources := $(shell grep -l "<html newsdate" $(FILES))


Loading…
Cancel
Save