source: app/dist/Makefile @ b2647de

help
Last change on this file since b2647de was b2647de, checked in by pawelk <pawelk@…>, 16 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
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.