Commit 8b36374d authored by Bastien Nocera's avatar Bastien Nocera
Browse files

* Makefile.am: Remove the tests below, and modify the DTD to not allow

acronyms without an expanded-acronym, and mime-types without comments
* freedesktop.org.xml.in: Add generic-icons to all the application/
mime-type, with a few FIXMEs, remove duplicated StuffIt mime-type, but
keep the aliases, fix a few mime-types without comments, and missing
acronyms or expanded-acronyms
parent 006828b4
2008-04-23 Bastien Nocera <hadess@hadess.net>
* Makefile.am: Remove the tests below, and modify the DTD to not allow
acronyms without an expanded-acronym, and mime-types without comments
* freedesktop.org.xml.in: Add generic-icons to all the application/
mime-type, with a few FIXMEs, remove duplicated StuffIt mime-type, but
keep the aliases, fix a few mime-types without comments, and missing
acronyms or expanded-acronyms
2008-04-22 Bastien Nocera <hadess@hadess.net>
* Makefile.am: Add check for mime-types without comments
......
......@@ -75,21 +75,7 @@ check:
echo "***************************************************************************" ; \
exit 1 ; \
fi
@echo Expanded acronyms: `grep expanded-acronym $(srcdir)/freedesktop.org.xml.in | wc -l` ; \
echo Acronyms: `grep acronym $(srcdir)/freedesktop.org.xml.in | grep -v expanded | wc -l` ; \
if test `grep expanded-acronym $(srcdir)/freedesktop.org.xml.in | wc -l` -ne `grep acronym $(srcdir)/freedesktop.org.xml.in | grep -v expanded | wc -l` ; then \
echo "*****************************************************************************************" ; \
echo "*** Some acronyms are missing the expanded acronym definitions, fix before committing ***" ; \
echo "*****************************************************************************************" ; \
exit 1; \
fi
@echo Number of defined mime-types: `grep "mime-type type=" $(srcdir)/freedesktop.org.xml.in | wc -l` ; \
echo Number of comments: `grep _comment $(srcdir)/freedesktop.org.xml.in | wc -l` ; \
if test `grep "mime-type type=" $(srcdir)/freedesktop.org.xml.in | wc -l` -ne `grep _comment $(srcdir)/freedesktop.org.xml.in | wc -l` ; then \
echo "*******************************************************************" ; \
echo "*** Some mime-types are missing comments, fix before committing ***" ; \
echo "*******************************************************************" ; \
exit 1; \
fi
@echo Number of application/ mime-types: `grep "mime-type type=" $(srcdir)/freedesktop.org.xml.in | grep "application/" | grep -v "octet-stream" | wc -l` ; \
echo Number of mime-types with a generic icon: `grep "generic-icon name=" $(srcdir)/freedesktop.org.xml.in | wc -l` ;
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment