cleanup makefile

This commit is contained in:
Joey Hess 2015-07-23 12:51:27 -04:00
parent e66098a42a
commit a2409bc644
2 changed files with 3 additions and 6 deletions

1
.gitignore vendored
View file

@ -4,7 +4,6 @@ Setup
*.o
tmp
test
build-stamp
Build/SysConfig.hs
Build/InstallDesktopFile
Build/EvilSplicer

View file

@ -12,9 +12,7 @@ ifdef VIM
all=fast
endif
build: build-stamp
build-stamp: $(all)
touch $@
build: $(all)
Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
if [ "$(CABAL)" = ./Setup ]; then ghc --make Setup; fi
@ -87,7 +85,7 @@ docs: mans
clean:
rm -rf tmp dist git-annex $(mans) configure *.tix .hpc \
doc/.ikiwiki html dist tags Build/SysConfig.hs build-stamp \
doc/.ikiwiki html dist tags Build/SysConfig.hs \
Setup Build/InstallDesktopFile Build/EvilSplicer \
Build/Standalone Build/OSXMkLibs Build/LinuxMkLibs \
Build/DistributionUpdate Build/BuildVersion \
@ -264,4 +262,4 @@ distributionupdate:
ghc -Wall --make Build/DistributionUpdate -XPackageImports -optP-include -optPdist/build/autogen/cabal_macros.h
./Build/DistributionUpdate
.PHONY: git-annex git-union-merge git-recover-repository tags build-stamp
.PHONY: git-annex git-union-merge tags