diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-11-17 16:39:31 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-11-23 13:14:47 +0100 |
commit | ac675df56bd0999be171bc3776e280b43f866d46 (patch) | |
tree | 50928c3a4fdba5bf50c08014988bbe14c2c402be /readlicense_oo/util | |
parent | 3875f7ba34a9d11228d48c32cd21a80fe3544af1 (diff) |
Don't produce .html variant of README_lang files
Just provide language specific README files as plain text files.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'readlicense_oo/util')
-rwxr-xr-x | readlicense_oo/util/makefile.pmk | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/readlicense_oo/util/makefile.pmk b/readlicense_oo/util/makefile.pmk index 0efd9712f11d..2e072f1b7430 100755 --- a/readlicense_oo/util/makefile.pmk +++ b/readlicense_oo/util/makefile.pmk @@ -30,10 +30,8 @@ .IF "$(GUI)"=="UNX" # uppercase and no filename extension for txt SYSTEXTDOCS=$(foreach,i,$(alllangiso) $(MISC)$/$(GUI)$/README_$i) -SYSHTMLDOCS=$(SYSTEXTDOCS:+".html") .ELSE # "$(GUI)"=="UNX" SYSTEXTDOCS=$(foreach,i,$(alllangiso) $(MISC)$/$(GUI)$/readme_$i.txt) -SYSHTMLDOCS=$(SYSTEXTDOCS:s/.txt/.html/) .ENDIF # "$(GUI)"=="UNX" .IF "$(WITH_LANG)"!="" @@ -44,7 +42,7 @@ MERGEDXRM=.$/readme.xrm .INCLUDE : target.mk -ALLTAR : $(SYSTEXTDOCS) $(SYSHTMLDOCS) +ALLTAR : $(SYSTEXTDOCS) $(COMMONMISC)$/readme.dtd : ..$/readme.dtd $(MKDIRHIER) $(MISC)$/$(GUI) @@ -55,24 +53,6 @@ virtual : $(MERGEDXRM) $(COMMONMISC)$/readme.dtd $(PRJ)$/docs/readme.xsl $(MISC)$/readme_text.xsl : virtual $(SED) '' < ..$/readme.xsl > $@ -$(MISC)$/$(GUI)$/$(eq,$(GUI),WNT readme README)_%.html : 'virtual' - @@-$(MKDIRHIER) $(@:d) - $(XSLTPROC) --nonet --novalid -o $@ \ - --stringparam os1 $(OS) --stringparam gui1 $(GUI) --stringparam com1 $(COM) \ - --stringparam cp1 $(CPUNAME) --stringparam type html --stringparam lang1 $* \ - ..$/readme.xsl $(MERGEDXRM) -.IF "$(GUI)"=="UNX" - chmod g+w $(MISC)$/$(GUI) -.ENDIF # "$(GUI)"=="UNX" - -$(MISC)$/$(GUI)$/$(eq,$(GUI),OS2 readme README)_%.html : 'virtual' - @@-$(MKDIRHIER) $(@:d) - $(XSLTPROC) --nonet --novalid -o $@ \ - --stringparam os1 $(OS) --stringparam gui1 $(GUI) --stringparam com1 $(COM) \ - --stringparam cp1 $(CPUNAME) --stringparam type html --stringparam lang1 $* \ - ..$/readme.xsl $(MERGEDXRM) - -# no percent-rule to avoid ambiguous inference chains for README_<lang>.html $(SYSTEXTDOCS) : $(MISC)$/readme_text.xsl @@-$(MKDIRHIER) $(@:d) $(XSLTPROC) --nonet --novalid -o $@ \ |