git-annex/debian/rules

29 lines
594 B
Text
Raw Normal View History

2010-10-16 20:41:24 +00:00
#!/usr/bin/make -f
# Avoid using cabal, as it writes to $HOME
export CABAL=./Setup
STANDALONE_BUILD=$(shell grep -qe '^Package: git-annex-standalone' debian/control \
&& echo 1 || echo 0)
# Do use the changelog's version number, rather than making one up.
2013-05-10 22:52:35 +00:00
export RELEASE_BUILD=1
2010-10-16 20:41:24 +00:00
%:
dh $@
# Standalone build logic/helpers
ifeq ($(STANDALONE_BUILD),1)
override_dh_auto_build:
make linuxstandalone
override_dh_auto_install:
: # nothing to do, we just need to copy the beast, as instructed in debian/install
override_dh_fixperms:
dh_fixperms -Xld-linux
endif