avoid double build from debian/rules
This commit is contained in:
parent
de8290d06b
commit
4ac299eafb
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -11,7 +11,9 @@ ifdef VIM
|
||||||
all=fast
|
all=fast
|
||||||
endif
|
endif
|
||||||
|
|
||||||
build: $(all)
|
build: build-stamp
|
||||||
|
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
|
||||||
$(CABAL) configure
|
$(CABAL) configure
|
||||||
|
@ -69,7 +71,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
|
doc/.ikiwiki html dist tags Build/SysConfig.hs build-stamp
|
||||||
|
|
||||||
sdist: clean $(mans)
|
sdist: clean $(mans)
|
||||||
./Build/make-sdist.sh
|
./Build/make-sdist.sh
|
||||||
|
@ -175,4 +177,4 @@ hdevtools:
|
||||||
hdevtools --stop-server || true
|
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue