help
Last change
on this file since 04ae414 was
b2647de,
checked in by pawelk <pawelk@…>, 17 years ago
|
Poprawiłem skrypty, generujące dystrybucję tarball oraz rpm.
Można testować: make dist_tarball oraz make dist_rpm.
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@11 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[25ae32e] | 1 | |
---|
[b2647de] | 2 | # some variables |
---|
[25ae32e] | 3 | |
---|
[b2647de] | 4 | # path, where all nessesary files are placed |
---|
[25ae32e] | 5 | # (they will be processed for making distribution) |
---|
[b2647de] | 6 | export UTT_DIST_DIR=$(UTT_DIR) |
---|
| 7 | # path, where distribution package will be placed |
---|
| 8 | export UTT_DIST_OUTPUT=$(UTT_DIR)/.. |
---|
| 9 | #temp path for making distribution |
---|
| 10 | export UTT_DIST_TMP=$(shell pwd)/dist_tmp |
---|
[25ae32e] | 11 | |
---|
| 12 | |
---|
| 13 | # ----------------------------------------------------------- |
---|
| 14 | # default task should display options |
---|
| 15 | .PHONY: default |
---|
| 16 | defaul: |
---|
[b2647de] | 17 | @echo "Using: make tarball|rpm|deb" |
---|
[25ae32e] | 18 | |
---|
| 19 | |
---|
| 20 | # ----------------------------------------------------------- |
---|
| 21 | # this task should compile utt (if nesessery) and create tar.gz version |
---|
| 22 | .PHONY: tarball |
---|
[b2647de] | 23 | tarball: |
---|
[25ae32e] | 24 | cd tarball && make |
---|
| 25 | |
---|
| 26 | # ----------------------------------------------------------- |
---|
| 27 | # this task should compile utt (if nesessery) and create rpm version |
---|
| 28 | .PHONY: rpm |
---|
[b2647de] | 29 | rpm: |
---|
[25ae32e] | 30 | @#we build rpm (see spec/README for details) |
---|
| 31 | cd spec && make |
---|
| 32 | |
---|
| 33 | # ----------------------------------------------------------- |
---|
| 34 | # this task should compile utt (if nesessery) and create deb version |
---|
| 35 | .PHONY: deb |
---|
[b2647de] | 36 | deb: |
---|
[25ae32e] | 37 | @#we build deb (see deb/README for details) |
---|
| 38 | cd deb && make |
---|
| 39 | |
---|
| 40 | # ----------------------------------------------------------- |
---|
| 41 | # this task should remove compiled files and directories |
---|
| 42 | .PHONY: clean |
---|
| 43 | clean: |
---|
| 44 | # finally the line below should be uncomment |
---|
[b2647de] | 45 | rm -fr ${UTT_DIST_TMP} |
---|
[25ae32e] | 46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.