2010-10-16 20:41:24 +00:00
|
|
|
#!/usr/bin/make -f
|
2012-09-28 19:57:55 +00:00
|
|
|
|
2012-09-29 05:28:02 +00:00
|
|
|
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-yesod-dev 2>/dev/null))
|
2013-01-26 22:30:53 +00:00
|
|
|
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_HOST -DWITH_PAIRING -DWITH_XMPP -DWITH_WEBAPP -DWITH_OLD_YESOD
|
2012-09-29 05:28:02 +00:00
|
|
|
else
|
2013-01-26 22:30:53 +00:00
|
|
|
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_HOST -DWITH_PAIRING -DWITH_XMPP
|
2013-01-26 21:07:22 +00:00
|
|
|
endif
|
|
|
|
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-dav-dev 2>/dev/null))
|
|
|
|
export FEATURES:=${FEATURES} -DWITH_WEBDAV
|
2012-09-29 05:28:02 +00:00
|
|
|
endif
|
2012-09-28 19:57:55 +00:00
|
|
|
|
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
|