forked from couchbase/ns_server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
44 lines (32 loc) · 1.02 KB
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (c) 2011, Couchbase, Inc.
# All rights reserved.
# Note: This Makefile is provided as a convenience wrapper to CMake,
# which is the build tool used for configuring this project. Please do
# not make any substantive changes only in this file or in the
# top-level "configure" script, as the normal process of building
# Couchbase server uses only CMake.
SHELL=/bin/sh
ifneq (,$(wildcard build))
all:
cd build && $(MAKE) --no-print-directory all
fail-unless-configured:
@true
else
all fail-unless-configured:
@echo
@echo "you need to run ./configure with --prefix option to be able to run ns_server"
@echo
@false
endif
.PHONY: test ui_test docs
clean clean_all:
cd build && $(MAKE) --no-print-directory clean ns_realclean
install:
cd build && $(MAKE) --no-print-directory $@
dataclean distclean test ui_test docs dialyzer dialyzer_obsessive:
cd build && $(MAKE) --no-print-directory ns_$@
minify:
cd build/deps/gocode && $(MAKE) --no-print-directory ns_minify/fast
# assuming exuberant-ctags
TAGS:
ctags -eR .