Codebase list github-backup / 33c2a7b
tags Joey Hess 10 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33 build: Build/SysConfig.hs
44 $(CABAL) build
55 ln -sf dist/build/github-backup/github-backup github-backup
6 @$(MAKE) tags >/dev/null 2>&1 &
67
78 Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
89 if [ "$(CABAL)" = ./Setup ]; then ghc --make Setup; fi
1516 install -m 0644 github-backup.1 $(DESTDIR)$(PREFIX)/share/man/man1
1617
1718 clean:
18 rm -rf github-backup dist configure Build/SysConfig.hs Setup
19 rm -rf github-backup dist configure Build/SysConfig.hs Setup tags
1920 find -name \*.o -exec rm {} \;
2021 find -name \*.hi -exec rm {} \;
2122
2324 hackage: clean
2425 ./make-sdist.sh
2526 @cabal upload dist/*.tar.gz
27
28 # hothasktags chokes on some template haskell etc, so ignore errors
29 tags:
30 find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null