Commit ed951357 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

* Makefile.am: Check for acronyms without any expanded acronyms

parent 33d6f7aa
2008-04-22 Bastien Nocera <hadess@hadess.net>
* Makefile.am: Check for acronyms without any expanded acronyms
2008-04-22 Bastien Nocera <hadess@hadess.net> 2008-04-22 Bastien Nocera <hadess@hadess.net>
* freedesktop.org.xml.in: Add generic-icon to the DTD * freedesktop.org.xml.in: Add generic-icon to the DTD
......
...@@ -75,4 +75,12 @@ check: ...@@ -75,4 +75,12 @@ check:
echo "***************************************************************************" ; \ echo "***************************************************************************" ; \
exit 1 ; \ exit 1 ; \
fi 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
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