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 *.o
tmp tmp
test test
build-stamp
Build/SysConfig.hs Build/SysConfig.hs
Build/InstallDesktopFile Build/InstallDesktopFile
Build/EvilSplicer Build/EvilSplicer

View file

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