"make valadoc" will now produce valadoc/ in the top-level directory. Still a lot of work to do to clean this up, as some names need to be fixed for better heirarchy and others should be made private to prevent leakage. And, of course, more classes, namespaces, and methods need to be properly documented.
52 lines
850 B
Makefile
52 lines
850 B
Makefile
# Makefile.in
|
|
#
|
|
# Copyright 2012-2013 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
|
|
|
|
.PHONY: valadoc
|
|
valadoc:
|
|
@$(MAKE) -C $(BUILD_DIR) valadoc
|
|
|