Line | |
---|
1 | |
---|
2 | # some variables |
---|
3 | |
---|
4 | # ----------------------------------------------------------- |
---|
5 | # default task should display options |
---|
6 | .PHONY: default |
---|
7 | defaul: |
---|
8 | @echo "Using: make tarball|rpm|deb" |
---|
9 | |
---|
10 | |
---|
11 | # ----------------------------------------------------------- |
---|
12 | # this task will create tar.gz distribution |
---|
13 | .PHONY: tarball |
---|
14 | tarball: |
---|
15 | cd tarball && make |
---|
16 | |
---|
17 | # ----------------------------------------------------------- |
---|
18 | # this task should compile utt (if nesessery) and create rpm version |
---|
19 | .PHONY: rpm |
---|
20 | rpm: |
---|
21 | @#we build rpm (see spec/README for details) |
---|
22 | cd spec && make |
---|
23 | |
---|
24 | # ----------------------------------------------------------- |
---|
25 | # this task should compile utt (if nesessery) and create deb version |
---|
26 | .PHONY: deb |
---|
27 | deb: |
---|
28 | @#we build deb (see deb/README for details) |
---|
29 | cd deb && make |
---|
30 | |
---|
31 | # ----------------------------------------------------------- |
---|
32 | # this task should remove compiled files and directories |
---|
33 | .PHONY: clean |
---|
34 | clean: |
---|
35 | # finally the line below should be uncomment |
---|
36 | #rm -fr ${UTT_DIST_TMP} |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.