better bg tags generation

This commit is contained in:
Joey Hess 2013-03-11 18:13:18 -04:00
parent 349ae81293
commit d1f15e4ba5

View file

@ -18,7 +18,7 @@ build: $(all)
fast: dist/caballog fast: dist/caballog
@$$(grep 'ghc --make' dist/caballog | head -n 1) @$$(grep 'ghc --make' dist/caballog | head -n 1)
@ln -sf dist/build/git-annex/git-annex git-annex @ln -sf dist/build/git-annex/git-annex git-annex
@$(MAKE) tags & @$(MAKE) tags >/dev/null 2>&1
dist/caballog: git-annex.cabal dist/caballog: git-annex.cabal
$(CABAL) configure -f"-Production" -O0 $(CABAL) configure -f"-Production" -O0
@ -59,7 +59,7 @@ test: fast
# hothasktags chokes on some tempolate haskell etc, so ignore errors # hothasktags chokes on some tempolate haskell etc, so ignore errors
tags: tags:
@find . | grep -v /.git/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null find . | grep -v /.git/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null
# If ikiwiki is available, build static html docs suitable for being # If ikiwiki is available, build static html docs suitable for being
# shipped in the software package. # shipped in the software package.