git-annex/debian/rules

22 lines
688 B
Text
Raw Normal View History

2010-10-16 20:41:24 +00:00
#!/usr/bin/make -f
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-yesod-dev 2>/dev/null))
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_HOST -DWITH_PAIRING -DWITH_XMPP -DWITH_WEBAPP -DWITH_OLD_YESOD
else
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_HOST -DWITH_PAIRING -DWITH_XMPP
endif
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-dav-dev 2>/dev/null))
export FEATURES:=${FEATURES} -DWITH_WEBDAV
endif
2010-10-16 20:41:24 +00:00
%:
dh $@
2013-02-14 22:51:30 +00:00
# Builds standalone tarball with the same FEATURES as debian package.
standalone:
$(MAKE) linuxstandalone
2010-10-16 20:41:24 +00:00
# Not intended for use by anyone except the author.
announcedir:
2010-10-27 19:08:46 +00:00
@echo ${HOME}/src/git-annex/doc/news