diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-12 21:22:43 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-12 22:01:53 +0100 |
commit | 84ed992c30be83e3a79867a827a85108393c63ac (patch) | |
tree | 8d5238516e1344447b3643f9f3e0cf814c11825a /mime | |
parent | 44beac5d9f425d3abc72fd6f318cd23645133eea (diff) |
Register a MIME type for disfluid cache entry.
Diffstat (limited to 'mime')
-rw-r--r-- | mime/Makefile.am | 14 | ||||
-rw-r--r-- | mime/eu.planete_kraus.Disfluid.xml.in | 7 |
2 files changed, 21 insertions, 0 deletions
diff --git a/mime/Makefile.am b/mime/Makefile.am new file mode 100644 index 0000000..b7d7b06 --- /dev/null +++ b/mime/Makefile.am @@ -0,0 +1,14 @@ +mimedir = ${datarootdir}/mime/packages + +EXTRA_DIST += \ + %D%/eu.planete_kraus.Disfluid.xml.in + +mime_DATA = \ + %D%/eu.planete_kraus.Disfluid$(DISFLUID_NIGHTLY_SUFFIX).xml + +CLEANFILES += \ + %D%/eu.planete_kraus.Disfluid$(DISFLUID_NIGHTLY_SUFFIX).xml + +%D%/eu.planete_kraus.Disfluid$(DISFLUID_NIGHTLY_SUFFIX).xml: %D%/eu.planete_kraus.Disfluid.xml.in + @mkdir -p %D%/ + $(AM_V_GEN) cp $(srcdir)/%D%/eu.planete_kraus.Disfluid.xml.in %D%/eu.planete_kraus.Disfluid$(DISFLUID_NIGHTLY_SUFFIX).xml diff --git a/mime/eu.planete_kraus.Disfluid.xml.in b/mime/eu.planete_kraus.Disfluid.xml.in new file mode 100644 index 0000000..e24afbd --- /dev/null +++ b/mime/eu.planete_kraus.Disfluid.xml.in @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-disfluid-cache-entry"> + <comment>Disfluid cache entry</comment> + <glob pattern="*.disfuid-cache-entry"/> + </mime-type> +</mime-info> |