| 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 |  | 
|---|
| 21 | ## bacula library wrapper | 
|---|
| 22 | clib: | 
|---|
| 23 | python setup.py --prefix ./build | 
|---|
| 24 |  | 
|---|
| 25 | ## make bacula_client libraries | 
|---|
| 26 | .PHONY: bacula | 
|---|
| 27 | bacula: | 
|---|
| 28 | cd ./bacula_repo ; \ | 
|---|
| 29 | ./configure \ | 
|---|
| 30 | --enable-client-only \ | 
|---|
| 31 | --prefix=$(PWD)/build \ | 
|---|
| 32 | ; \ | 
|---|
| 33 | make ; \ | 
|---|
| 34 | make install | 
|---|
| 35 | touch bacula | 
|---|
| 36 |  | 
|---|
| 37 | clean_bacula: | 
|---|
| 38 | cd ./bacula_repo ; \ | 
|---|
| 39 | make clean | 
|---|
| 40 |  | 
|---|
| 41 | ## remove generated sources | 
|---|
| 42 | cleaner: clean clean_bacula | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.