| 4 |
|
|
| 5 |
arches := $(shell grep '\[ <!entity arch-title' release-notes.ent | awk '{print $$2}' | sed s/%//) |
arches := $(shell grep '\[ <!entity arch-title' release-notes.ent | awk '{print $$2}' | sed s/%//) |
| 6 |
|
|
| 7 |
|
export PATH:=../quick-reference/bin/:${PATH} |
| 8 |
|
|
| 9 |
ifeq "$(OFFICIALWEBBUILD)" "true" |
ifeq "$(OFFICIALWEBBUILD)" "true" |
| 10 |
install_file := install -m 2664 -p |
install_file := install -m 2664 -p |
| 11 |
makedir := mkdir -p -m 2775 |
makedir := mkdir -p -m 2775 |
| 36 |
for lang in $(LANGUAGES); do \ |
for lang in $(LANGUAGES); do \ |
| 37 |
$(install_file) $$lang/release-notes.$$lang.html/* $(PUBLISHDIR)/$$arch/release-notes/; \ |
$(install_file) $$lang/release-notes.$$lang.html/* $(PUBLISHDIR)/$$arch/release-notes/; \ |
| 38 |
$(install_file) $$lang/release-notes.$$lang.txt $(PUBLISHDIR)/$$arch/; \ |
$(install_file) $$lang/release-notes.$$lang.txt $(PUBLISHDIR)/$$arch/; \ |
| 39 |
if [ "$$lang" != "ja" ] && [ "$$lang" != "zh_TW" ]; then \ |
$(install_file) $$lang/release-notes.$$lang.pdf $(PUBLISHDIR)/$$arch/; \ |
| 40 |
$(install_file) $$lang/release-notes.$$lang.pdf $(PUBLISHDIR)/$$arch/; \ |
$(install_file) $$lang/release-notes.$$lang.ps $(PUBLISHDIR)/$$arch/; \ |
|
$(install_file) $$lang/release-notes.$$lang.ps $(PUBLISHDIR)/$$arch/; \ |
|
|
fi; \ |
|
| 41 |
done; \ |
done; \ |
| 42 |
for i in $(PUBLISHDIR)/$$arch/release-notes/*.en.html; do \ |
for i in $(PUBLISHDIR)/$$arch/release-notes/*.en.html; do \ |
| 43 |
ln -sf $$i $${i%.en.html}.html; \ |
ln -sf $$i $${i%.en.html}.html; \ |
| 55 |
ln -sf index.en.html upgrade-$$arch/index.html; \ |
ln -sf index.en.html upgrade-$$arch/index.html; \ |
| 56 |
ln -sf release-notes.en.txt upgrade-$$arch/Release-Notes; \ |
ln -sf release-notes.en.txt upgrade-$$arch/Release-Notes; \ |
| 57 |
done |
done |
| 58 |
|
# Jens: where are ps and pdf versions? |
| 59 |
# XXX needs to be updated for each release that introduces new architectures! |
# XXX needs to be updated for each release that introduces new architectures! |
| 60 |
# for newarch in mips mipsel ia64 hppa s390; do \ |
# for newarch in mips mipsel ia64 hppa s390; do \ |
| 61 |
# mv upgrade-$$newarch disks-$$newarch; \ |
# mv upgrade-$$newarch disks-$$newarch; \ |