geary/Makefile.in
Michael James Gratton b7224d6da3 Stop cmake warning that we are using an internal target name.
* CMakeLists.txt: Rename "test" to "tests"

* Makefile.in: Chase target name, add a compatibility target for the old
  name.
2016-12-26 10:31:02 +10:30

59 lines
968 B
Makefile

# Makefile.in
#
# Copyright 2016 Software Freedom Conservancy Inc.
BUILD_DIR := build
BINARIES := geary geary-console geary-mailer
BUILD_BINARIES := $(addprefix $(BUILD_DIR)/,$(BINARIES))
.PHONY: all
all:
@$(MAKE) -C $(BUILD_DIR)
@cp $(BUILD_BINARIES) .
.PHONY: install
install:
@$(MAKE) -C $(BUILD_DIR) $@
.PHONY: uninstall
uninstall:
@$(MAKE) -C $(BUILD_DIR) $@
@$(MAKE) -C $(BUILD_DIR) post-uninstall
.PHONY: pot_file
pot_file:
@$(MAKE) -C $(BUILD_DIR) $@
@cp build/src/geary.pot po
.PHONY: clean
clean:
@-$(MAKE) -C $(BUILD_DIR) clean
@-rm -f $(BINARIES)
@-rm -f .stamp
.PHONY: distclean
distclean: clean
@-rm -rf $(BUILD_DIR)
@-rm -f Makefile
.PHONY: tests
tests:
@$(MAKE) -C $(BUILD_DIR) $@
.PHONY: test
test:
@$(MAKE) -C $(BUILD_DIR) tests
.PHONY: dist
dist: tests
@$(MAKE) -C $(BUILD_DIR) dist
@cp build/*.xz .
.PHONY: ubuntu
ubuntu: test
@$(MAKE) -C $(BUILD_DIR) ubuntu
.PHONY: valadoc
valadoc:
@$(MAKE) -C $(BUILD_DIR) valadoc