summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-04-22 23:41:24 +0000
committerBastien Nocera <hadess@hadess.net>2008-04-22 23:41:24 +0000
commit8b36374db068034403ae6b23adde9afe60c371cd (patch)
tree3d7534194e66d9e6de3a8bb65b2b37c079702e4a /Makefile.am
parent006828b4aecedcc8284d51131266c2eecad463b3 (diff)
downloadshared-mime-info-8b36374db068034403ae6b23adde9afe60c371cd.tar.gz
* 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
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am18
1 files changed, 2 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index c564c6fd..95202f8c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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` ;