forked from arangodb/arangodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
83 lines (66 loc) · 2.24 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*- mode: Makefile; -*-
## -----------------------------------------------------------------------------
## --SECTION-- SPECIAL TARGETS
## -----------------------------------------------------------------------------
-include Makefile
################################################################################
### @brief setup
################################################################################
.PHONY: setup
setup:
@echo ACLOCAL
@aclocal -I m4
@echo AUTOMAKE
@automake --add-missing --force-missing --copy
@echo AUTOCONF
@autoconf -I m4
@echo auto system configured, proceed with configure
################################################################################
### @brief add maintainer files
################################################################################
MAINTAINER = \
README \
arangod/Ahuacatl/ahuacatl-tokens.c \
arangod/Ahuacatl/ahuacatl-grammar.c \
arangod/Ahuacatl/ahuacatl-grammar.h \
lib/JsonParser/json-parser.c \
lib/V8/v8-json.cpp \
lib/V8/v8-json.h \
lib/BasicsC/voc-errors.h \
lib/BasicsC/voc-errors.c \
js/common/bootstrap/errors.js
AUTOMAGIC = \
Makefile.in \
aclocal.m4 \
configure \
config/compile \
config/config.guess \
config/config.sub \
config/depcomp \
config/install-sh \
config/missing
.PHONY: add-maintainer add-automagic
add-maintainer:
@echo adding generated files to GIT
git add -f $(MAINTAINER)
remove-maintainer:
@echo removing generated files from GIT
git rm -f $(MAINTAINER)
add-automagic:
@echo adding automagic files to GIT
git add -f $(AUTOMAGIC)
remove-automagic:
@echo removing automagic files from GIT
git rm -f $(AUTOMAGIC)
################################################################################
### @brief make love
################################################################################
love:
@echo ArangoDB loves you
## -----------------------------------------------------------------------------
## --SECTION-- END-OF-FILE
## -----------------------------------------------------------------------------
## Local Variables:
## mode: outline-minor
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
## End: