2016-03-14 05:26:59 -05:00
|
|
|
########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
|
|
|
# Copyright (C) 2013 - 2016, The pgAdmin Development Team
|
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# High-level targets
|
|
|
|
#########################################################################
|
|
|
|
|
2016-06-03 04:56:53 -05:00
|
|
|
# Include only platform-independent builds in all
|
2016-06-15 11:09:05 -05:00
|
|
|
all: docs pip src
|
2016-03-14 05:26:59 -05:00
|
|
|
|
2016-06-03 04:56:53 -05:00
|
|
|
# Include all clean sub-targets in clean
|
|
|
|
clean: clean-dist clean-docs clean-pip clean-appbundle clean-src
|
2016-03-14 05:26:59 -05:00
|
|
|
|
2016-06-15 11:09:05 -05:00
|
|
|
pip: docs
|
|
|
|
./pkg/pip/build.sh
|
2016-03-14 05:26:59 -05:00
|
|
|
|
2016-06-02 07:56:56 -05:00
|
|
|
appbundle: docs
|
|
|
|
./pkg/mac/build.sh
|
|
|
|
|
2016-06-15 11:09:05 -05:00
|
|
|
src:
|
|
|
|
./pkg/src/build.sh
|
|
|
|
|
2016-06-02 07:56:56 -05:00
|
|
|
docs:
|
|
|
|
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $(MAKE) -C docs/en_US -f Makefile.sphinx html
|
|
|
|
|
2016-03-14 05:26:59 -05:00
|
|
|
clean-pip:
|
2016-06-15 11:09:05 -05:00
|
|
|
rm -rf pip-build/
|
2016-06-02 07:56:56 -05:00
|
|
|
|
|
|
|
clean-appbundle:
|
2016-06-15 11:09:05 -05:00
|
|
|
rm -rf mac-build/
|
2016-06-03 04:56:53 -05:00
|
|
|
|
|
|
|
clean-src:
|
2016-06-15 11:09:05 -05:00
|
|
|
rm -rf src-build/
|
|
|
|
|
|
|
|
clean-docs:
|
|
|
|
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $(MAKE) -C docs/en_US -f Makefile.sphinx clean
|
2016-06-03 04:56:53 -05:00
|
|
|
|
|
|
|
clean-dist:
|
2016-06-15 11:09:05 -05:00
|
|
|
rm -rf dist/
|
|
|
|
|
2016-06-02 07:56:56 -05:00
|
|
|
.PHONY: docs
|