Skip to content

Commit a688f43

Browse files
authored
Merge pull request #617 from clembu/demo-i18n
[template][make] fix i18n build in the template
2 parents 5aabfce + c0a089c commit a688f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template.distillery/Makefile.i18n

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ I18N_GENERATOR := ocsigen-i18n-generator
1111
I18N_ELIOM_FILE := $(PROJECT_NAME)_i18n.eliom
1212

1313
## PPX extension to rewrite each file while compiling.
14-
I18N_PPX_REWRITER := "ocsigen-i18n-rewriter --prefix '%%%MODULE_NAME%%%_' --suffix '_i18n' %%%MODULE_NAME%%%_i18n"
14+
I18N_PPX_REWRITER := "ocsigen-i18n-rewriter --prefix '%%%MODULE_NAME%%%_' --suffix '_i18n' --default-module %%%MODULE_NAME%%%_i18n"
1515

1616
## This rule will update the primary I18N module
1717
$(I18N_ELIOM_FILE): $(I18N_PRIMARY_FILE)

0 commit comments

Comments
 (0)