FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/Makefile at v0.0.4 · nodegit/nodegit · GitHub
nodegit
nodegit
Repository navigation
Code
Issues
344
(344)
Pull requests
23
(23)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (35 loc) · 1.06 KB
Breadcrumbs
nodegit
/
Makefile
Copy path
File metadata and controls
51 lines (35 loc) · 1.06 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
NODE_JS
=
$(
if
$(
shell
test -f /usr/bin/nodejs && echo "true")
,nodejs,node)
NODE_BLD
= node-waf
NODE_LIB_PATH
= ~/.node_libraries
BASE
= .
INSTALL_PATH
=
$(
NODE_LIB_PATH
)
/nodegit
NATURAL_DOCS_PATH
=
$(
BASE
)
/vendor/naturaldocs/
all
: build
update
: clean config build uninstall install
config
:
@@
$(
BASE
)
/configure
build
:
@@
$(
NODE_BLD
)
build
debug
:
@@
$(
NODE_BLD
)
debug
install
:
@@mkdir -p
$(
INSTALL_PATH
)
@@mkdir -p
$(
INSTALL_PATH
)
/build/default
@@mkdir -p
$(
INSTALL_PATH
)
/lib
@@cp -f $(BASE)/build/default/nodegit.node $(INSTALL_PATH)/build/default/nodegit.node
@@cp -f $(BASE)/lib/* $(INSTALL_PATH)/lib/
@@cp -f $(BASE)/package.json $(INSTALL_PATH)/
@@echo "Installed to $(INSTALL_PATH)"
uninstall
:
@@rm -rf
$(
INSTALL_PATH
)
@@echo
"
Uninstalled from
$(
INSTALL_PATH
)
"
clean
:
@@rm -rf
$(
BASE
)
/build/
@@rm -rf
$(
BASE
)
/vendor/libgit2/build/
test
:
@@
$(
NODE_JS
)
$(
BASE
)
/test/index.js
test
lint
:
@@
$(
NODE_JS
)
$(
BASE
)
/util/hint-check.js
doc
:
@@
$(
NATURAL_DOCS_PATH
)
/NaturalDocs -i
$(
BASE
)
/include -o HTML
$(
BASE
)
/doc -p
$(
BASE
)
/doc -s Theme
.PHONY
: test build doc
Back
|
FazBrowse Home
|
New Git URL