Last change
on this file since 555c7f8 was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[5f4d9c3] | 1 | |
---|
| 2 | # some variables |
---|
| 3 | |
---|
| 4 | # path, where all nessesary files are placed |
---|
| 5 | # (they will be processed for making distribution) |
---|
| 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 |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | # ----------------------------------------------------------- |
---|
| 14 | # default task should display options |
---|
| 15 | .PHONY: default |
---|
| 16 | defaul: |
---|
| 17 | @echo "Using: make tarball|rpm|deb" |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | # ----------------------------------------------------------- |
---|
| 21 | # this task should compile utt (if nesessery) and create tar.gz version |
---|
| 22 | .PHONY: tarball |
---|
| 23 | tarball: |
---|
| 24 | cd tarball && make |
---|
| 25 | |
---|
| 26 | # ----------------------------------------------------------- |
---|
| 27 | # this task should compile utt (if nesessery) and create rpm version |
---|
| 28 | .PHONY: rpm |
---|
| 29 | rpm: |
---|
| 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 |
---|
| 36 | deb: |
---|
| 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 |
---|
| 45 | rm -fr ${UTT_DIST_TMP} |
---|
| 46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.