ef85bd7e83
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@17 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
38 lines
968 B
Makefile
38 lines
968 B
Makefile
|
|
# some variables
|
|
|
|
# -----------------------------------------------------------
|
|
# default task should display options
|
|
.PHONY: default
|
|
defaul:
|
|
@echo "Using: make tarball|rpm|deb"
|
|
|
|
|
|
# -----------------------------------------------------------
|
|
# this task will create tar.gz distribution
|
|
.PHONY: tarball
|
|
tarball:
|
|
cd tarball && make
|
|
|
|
# -----------------------------------------------------------
|
|
# this task should compile utt (if nesessery) and create rpm version
|
|
.PHONY: rpm
|
|
rpm:
|
|
@#we build rpm (see spec/README for details)
|
|
cd spec && make
|
|
|
|
# -----------------------------------------------------------
|
|
# this task should compile utt (if nesessery) and create deb version
|
|
.PHONY: deb
|
|
deb:
|
|
@#we build deb (see deb/README for details)
|
|
cd deb && make
|
|
|
|
# -----------------------------------------------------------
|
|
# this task should remove compiled files and directories
|
|
.PHONY: clean
|
|
clean:
|
|
# finally the line below should be uncomment
|
|
#rm -fr ${UTT_DIST_TMP}
|
|
|