Skip to content

Commit b0a6109

Browse files
schnitzeltonybeanpole135
authored andcommitted
i18n: fix out of tree build
Fixes e.g: | /bin/sh: line 0: cd: i18n: No such file or directory | Makefile:955: recipe for target 'install_dotrans' failed | make[3]: *** [install_dotrans] Error 1 Signed-off-by: Andreas Müller <[email protected]>
1 parent 14f4ac2 commit b0a6109

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

src-qt5/core-utils/lumina-config/lumina-config.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ TRANSLATIONS = i18n/lumina-config_af.ts \
115115
i18n/lumina-config_zu.ts
116116

117117
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
118-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
118+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
119119

120120
desktop.files=lumina-config.desktop
121121
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/core-utils/lumina-search/lumina-search.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TRANSLATIONS = i18n/lumina-search_af.ts \
9393
i18n/lumina-search_zu.ts
9494

9595
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
96-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
96+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9797

9898
desktop.files=lumina-search.desktop
9999
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ TRANSLATIONS = i18n/lumina-xconfig_af.ts \
8989
i18n/lumina-xconfig_zu.ts
9090

9191
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
92-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
92+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9393

9494
desktop.files=lumina-xconfig.desktop
9595
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/core/lumina-desktop-unified/lumina-desktop.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ TRANSLATIONS = i18n/lumina-desktop_af.ts \
124124
i18n/lumina-desktop_zu.ts
125125

126126
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
127-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
127+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
128128

129129
INSTALLS += target desktop defaults extrafiles
130130

src-qt5/core/lumina-desktop/lumina-desktop.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ TRANSLATIONS = i18n/lumina-desktop_af.ts \
170170
i18n/lumina-desktop_zu.ts
171171

172172
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
173-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
173+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
174174

175175
manpage.path=$${L_MANDIR}/man1/
176176
manpage.extra="$${MAN_ZIP} $$PWD/lumina-desktop.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-desktop.1.gz"

src-qt5/core/lumina-info/lumina-info.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ TRANSLATIONS = i18n/lumina-info_af.ts \
9292
i18n/lumina-info_zu.ts
9393

9494
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
95-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
95+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9696

9797
desktop.files=lumina-info.desktop lumina-support.desktop
9898
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/core/lumina-open/lumina-open.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ TRANSLATIONS = i18n/lumina-open_af.ts \
8787
i18n/lumina-open_zu.ts
8888

8989
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
90-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
90+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9191

9292
manpage.path=$${L_MANDIR}/man1/
9393
manpage.extra="$${MAN_ZIP} $$PWD/lumina-open.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-open.1.gz"

src-qt5/desktop-utils/lumina-archiver/lumina-archiver.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ TRANSLATIONS = i18n/l-archiver_af.ts \
8787
i18n/l-archiver_zu.ts
8888

8989
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
90-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
90+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9191

9292
desktop.files=lumina-archiver.desktop
9393
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ TRANSLATIONS = i18n/l-calc_af.ts \
8484
i18n/l-calc_zu.ts
8585

8686
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
87-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
87+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
8888

8989
desktop.files=lumina-calculator.desktop
9090
desktop.path=$${L_SHAREDIR}/applications/

src-qt5/desktop-utils/lumina-fileinfo/lumina-fileinfo.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ TRANSLATIONS = i18n/l-fileinfo_af.ts \
8989
i18n/l-fileinfo_zu.ts
9090

9191
dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/
92-
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
92+
dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/
9393

9494
desktop.files=lumina-fileinfo.desktop
9595
desktop.path=$${L_SHAREDIR}/applications/

0 commit comments

Comments
 (0)