Commit 006828b4 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

* Makefile.am: Add check for mime-types without comments

parent ed951357
2008-04-22 Bastien Nocera <hadess@hadess.net>
* Makefile.am: Add check for mime-types without comments
2008-04-22 Bastien Nocera <hadess@hadess.net>
* Makefile.am: Check for acronyms without any expanded acronyms
......
......@@ -83,4 +83,13 @@ check:
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
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