summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xreadlicense_oo/util/makefile.pmk9
1 files changed, 8 insertions, 1 deletions
diff --git a/readlicense_oo/util/makefile.pmk b/readlicense_oo/util/makefile.pmk
index ef4d7f39e2..aa66ec0657 100755
--- a/readlicense_oo/util/makefile.pmk
+++ b/readlicense_oo/util/makefile.pmk
@@ -66,10 +66,17 @@ $(MISC)$/$(GUI)$/$(eq,$(GUI),WNT readme README)_%.html : 'virtual'
--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"
# no percent-rule to avoid ambiguous inference chains for README_<lang>.html
$(SYSTEXTDOCS) : $(MISC)$/readme_text.xsl
$(XSLTPROC) --nonet -o $@ \
--stringparam os1 $(OS) --stringparam gui1 $(GUI) --stringparam com1 $(COM) \
--stringparam cp1 $(CPUNAME) --stringparam type text --stringparam lang1 $(@:b:s/readme_//:s/README_//) \
- $< $(MERGEDXRM)
+ $< $(MERGEDXRM)
+.IF "$(GUI)"=="UNX"
+ chmod g+w $(MISC)$/$(GUI)
+.ENDIF # "$(GUI)"=="UNX"
+