geary/Makefile.in
Jim Nelson be64553a8e Update icon cache after uninstall: Closes #5755
Now using a post-uninstall target to ensure that desktop and icon
caches are updated *after* the icon/.desktop file are deleted.
2012-10-09 15:52:22 -07:00

48 lines
785 B
Makefile

# Makefile.in
#
# Copyright 2012 Yorba Foundation
BUILD_DIR := build
BINARIES := geary gearyd 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: dist
dist:
@$(MAKE) -C $(BUILD_DIR) dist
@cp build/*.xz .
.PHONY: ubuntu
ubuntu:
@$(MAKE) -C $(BUILD_DIR) ubuntu