-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
33 lines (25 loc) · 1.17 KB
/
Makefile.in
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
TAR=tar
GZIP_ENV=--best
PACKAGE_TARNAME=@PACKAGE_TARNAME@
PREFIX=@prefix@
exec_prefix=$(PREFIX)
BINDIR=$(PREFIX)/bin
DOCDIR=@docdir@
EXAMPLES=$(PREFIX)/$(DOCDIR)/examples
.PHONY: install pythonlib
pythonlib:
#(cd src; make)
python setup.py build
#install: pythonlib sara_install
install: pythonlib
python ./setup.py install --prefix $(DESTDIR)/$(exec_prefix) ;
install -D LICENSE.openpbs $(DESTDIR)/$(PREFIX)/$(DOCDIR)/LICENSE.openpbs
install -D COPYING $(DESTDIR)/$(PREFIX)/$(DOCDIR)/COPYING
install -D COPYING.LESSER $(DESTDIR)/$(PREFIX)/$(DOCDIR)/COPYING.LESSER
(cd examples; for i in *py; do install -D $$i $(DESTDIR)/$(EXAMPLES)/$${i}; done)
sara_install:
install -D examples/new_rack_pbsmon.py $(DESTDIR)/$(BINDIR)/pbsmon
clean:
rm -rf config.log config.cache config.status build
distclean: clean
rm Makefile setup.py examples/ha_server.py examples/logpbs.py examples/new_rack_pbsmon.py examples/pbs_joblogin examples/pbsmon.py examples/pbs_version.py examples/resmom_info.py examples/set_property.py examples/JobParser.py examples/new_interface.py examples/node_event_parse.py examples/pbs_jobmonitor examples/pbsnodes-a.py examples/rack_pbsmon.py examples/sara_nodes.py