-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.am
More file actions
63 lines (52 loc) · 1.41 KB
/
Makefile.am
File metadata and controls
63 lines (52 loc) · 1.41 KB
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
EXTRA_DIST= \
m4 \
AUTHORS \
INSTALL \
NEWS \
ChangeLog \
COPYING \
README.md \
README \
autogen.sh \
setup.py.in \
scripts \
MANIFEST.in \
install-virtualenv.sh \
emane_node_view \
images
all-local: setup.py emane_node_view/static/bundle.js emane_node_view/static/node_modules
$(PYTHON) setup.py build_ext --inplace
$(PYTHON) setup.py build
clean-local: setup.py
$(PYTHON) setup.py clean
-rm -rf build
-rm -rf dist
-find . -name "*.pyc" -delete
-rm -f .installedfiles
-rm -f $(PACKAGE)-*.tar.gz
-rm -rf emane_node_view.egg-info
-rm -f emane_node_view/static/bundle.js
-rm -rf emane_node_view/static/node_modules
dist-hook:
-rm -f $(distdir)/emane_node_view/static/bundle.js
-rm -rf $(distdir)/emane_node_view/static/node_modules
DISTCLEANFILES=setup.py
edit = sed \
-e 's|@VERSION[@]|$(VERSION)|g'
setup.py: setup.py.in
if test -f $@; then chmod u+w $@; fi
$(edit) $< > $@
chmod g-w,u-w $@
install-exec-hook: $(BUILT_SOURCES)
$(PYTHON) setup.py install \
-O1 \
--record .installedfiles \
--prefix=$(prefix) \
--exec-prefix=$(exec_prefix) \
$(if $(DESTDIR),--root=$(DESTDIR))
uninstall-hook:
if test -f .installedfiles; then xargs -a .installedfiles rm -f; fi
emane_node_view/static/bundle.js: emane_node_view/static/app.js emane_node_view/static/node_modules
browserify $< -o $@
emane_node_view/static/node_modules:
cd emane_node_view/static && npm update