Skip to content

Commit

Permalink
Fix po to .nsi conversion dependencies
Browse files Browse the repository at this point in the history
* po/Rules-nsis: Make sure that all -> catalogs.nsi has the
po files in the dependency chain to have proper updates.

--
This fixes that the .nsi files were only updated when
doing a make dist.
  • Loading branch information
AndreHeinecke committed Mar 18, 2019
1 parent 11db95e commit b775a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion po/Rules-nsis
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $(GMOFILES): %.gmo: %.nsi
rm -f $${dir}$${lang}.nsi && ./nsis-msgfmt $${dir}$${lang}.po > $${dir}t-$${lang}.nsi && mv $${dir}t-$${lang}.nsi $${dir}$${lang}.nsi

# Collect all NSI files we need to include.
catalogs.nsi:
catalogs.nsi: $(GMOFILES)
echo -n $(CATALOGS) \
| sed -e 's/\([^ ]*\).gmo */!include "\1.nsi"\n/g' > catalogs.nsi

Expand Down

0 comments on commit b775a82

Please sign in to comment.