diff --git a/src/plugins/lib/Makefile.am b/src/plugins/lib/Makefile.am
index 9453d3b8f..5da3c3667 100644
--- a/src/plugins/lib/Makefile.am
+++ b/src/plugins/lib/Makefile.am
@@ -3,6 +3,15 @@
# but that is not necessarily portable.
# If not using GNU make, then list all .py files individually
+xmldir = $(datadir)/xml
+
+xml_in_files = holidays.xml.in
+xml_DATA = $(xml_in_files:.xml.in=.xml)
+
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST=$(xml_in_files) $(xml_DATA)
+
pkgdatadir = $(datadir)/@PACKAGE@/plugins/lib
pkgdata_PYTHON = \
diff --git a/src/plugins/lib/holidays.xml b/src/plugins/lib/holidays.xml.in
similarity index 95%
rename from src/plugins/lib/holidays.xml
rename to src/plugins/lib/holidays.xml.in
index 4da34bd73..8d6f3af46 100644
--- a/src/plugins/lib/holidays.xml
+++ b/src/plugins/lib/holidays.xml.in
@@ -519,34 +519,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+