Line | |
---|
1 | #!/bin/sh
|
---|
2 | SHELL = /bin/sh
|
---|
3 | PYTHON = /usr/bin/python
|
---|
4 | DOXYGEN=/usr/bin/doxygen
|
---|
5 | VERSION=0.1
|
---|
6 |
|
---|
7 | prefix = $(HOME)/tmp
|
---|
8 | docdir = $(prefix)/share/doc
|
---|
9 |
|
---|
10 | EXTERNALS = bacula
|
---|
11 |
|
---|
12 | all: bacula
|
---|
13 |
|
---|
14 | # cleanup old perl classes
|
---|
15 | .PHONY: clean
|
---|
16 | clean:
|
---|
17 | rm -rf build/*
|
---|
18 | rm bacula
|
---|
19 |
|
---|
20 | ## make bacula_client libraries
|
---|
21 | .PHONY: bacula
|
---|
22 | bacula:
|
---|
23 | cd ./bacula_repo ; \
|
---|
24 | ./configure \
|
---|
25 | --enable-client-only \
|
---|
26 | --prefix=$(PWD)/build \
|
---|
27 | ; \
|
---|
28 | make ; \
|
---|
29 | make install
|
---|
30 | touch bacula
|
---|
31 |
|
---|
32 | clean_bacula:
|
---|
33 | cd ./bacula_repo ; \
|
---|
34 | make clean
|
---|
35 |
|
---|
36 | ## remove generated sources
|
---|
37 | cleaner: clean clean_bacula
|
---|
Note:
See
TracBrowser
for help on using the repository browser.