Skip to content

Commit

Permalink
- Added make target tab-error
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11396 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 12, 2012
1 parent 72a80ea commit b5a0193
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.common
Expand Up @@ -149,7 +149,7 @@ clean: qtclean
(cd mosh/src && $(MAKE) -f $(defaultMakefileTarget) clean)
rm -rf build/share build/lib build/include build/bin/OMShell* build/bin/OMNotebook* \
build/bin/omc build/bin/omc.exe build/bin/omcd build/bin/omcd.exe build/bin/omcp build/bin/omcp.exe build/bin/omc-diff build/bin/omc-diff.exe \
bom-error.log bom-error.sh
bom-error.log bom-error.sh tab-error.log
install-dirs:
@test ! "${DESTDIR}/${prefix}" -ef "${top_builddir}/build" || (echo Error: Install and build dirs are the same && false)
if [ "$(EXE)" = ".app" ]; then mkdir -p ${INSTALL_APPDIR}; fi
Expand Down
7 changes: 7 additions & 0 deletions Makefile.in
Expand Up @@ -88,6 +88,13 @@ bom-error:
@test ! -e bom-error.log
rm -f bom-error.log bom-error.sh

tab-error:
rm -f tab-error.log
find Compiler/ SimulationRuntime/ OM* mosh -regextype posix-egrep -regex '.*.(cpp|c|h|mo)' -exec echo -n "{} " ';' -exec grep -c " " '{}' ';' | grep -v " 0\$$" > tab-error.log
@if test -e tab-error.log; then cat tab-error.log; fi
@test ! -e tab-error.log
rm -f tab-error.log

.PRECIOUS: Makefile

Makefile: Makefile.in config.status
Expand Down

0 comments on commit b5a0193

Please sign in to comment.