source: dist/Makefile @ e7de6cc

Last change on this file since e7de6cc 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
Line 
1
2# some variables
3
4# path, where all nessesary files are placed
5# (they will be processed for making distribution)
6export UTT_DIST_DIR=$(UTT_DIR)
7# path, where distribution package will be placed
8export UTT_DIST_OUTPUT=$(UTT_DIR)/..
9#temp path for making distribution
10export UTT_DIST_TMP=$(shell pwd)/dist_tmp
11
12
13# -----------------------------------------------------------
14# default task should display options
15.PHONY: default
16defaul:
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
23tarball:
24        cd tarball && make
25
26# -----------------------------------------------------------
27# this task should compile utt (if nesessery) and create rpm version
28.PHONY: rpm
29rpm:
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
36deb:
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
43clean:
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.