aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-14 16:45:54 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-14 16:45:54 -0400
commit0afa4ffb3139430e429483d668ec80c128d2de6d (patch)
treefba7ce8a78cfab35bc5c9f755b2f6a239117c2fe
parenta87a1f316b9215d949e8b464471b708caddead50 (diff)
avoid double build from debian/rules
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 35109819b..5fbabc187 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,9 @@ ifdef VIM
all=fast
endif
-build: $(all)
+build: build-stamp
+build-stamp: $(all)
+ touch $@
Build/SysConfig.hs: configure.hs Build/TestConfig.hs Build/Configure.hs
$(CABAL) configure
@@ -69,7 +71,7 @@ docs: $(mans)
clean:
rm -rf tmp dist git-annex $(mans) configure *.tix .hpc \
- doc/.ikiwiki html dist tags Build/SysConfig.hs
+ doc/.ikiwiki html dist tags Build/SysConfig.hs build-stamp
sdist: clean $(mans)
./Build/make-sdist.sh
@@ -175,4 +177,4 @@ hdevtools:
hdevtools --stop-server || true
hdevtools check git-annex.hs -g -cpp -g -i -g -idist/build/git-annex/git-annex-tmp -g -i. -g -idist/build/autogen -g -Idist/build/autogen -g -Idist/build/git-annex/git-annex-tmp -g -IUtility -g -DWITH_TESTSUITE -g -DWITH_S3 -g -DWITH_ASSISTANT -g -DWITH_INOTIFY -g -DWITH_DBUS -g -DWITH_PAIRING -g -DWITH_XMPP -g -optP-include -g -optPdist/build/autogen/cabal_macros.h -g -odir -g dist/build/git-annex/git-annex-tmp -g -hidir -g dist/build/git-annex/git-annex-tmp -g -stubdir -g dist/build/git-annex/git-annex-tmp -g -threaded -g -Wall -g -XHaskell98
-.PHONY: git-annex tags
+.PHONY: git-annex tags build-stamp