version 1.17, 2000/09/05 07:28:02 |
version 1.18, 2000/09/05 08:45:06 |
|
|
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.16 2000/09/02 02:45:02 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/Makefile,v 1.17 2000/09/05 07:28:02 takayama Exp $ |
|
|
#Edit this. VERSION number must be compatible between Generic/openxm/Makefile |
#Edit this. VERSION number must be compatible between Generic/openxm/Makefile |
# and *.spec.in |
# and *.spec.in |
VERSION=1.1.3 |
VERSION=1.1.3 |
|
|
|
## configuration only for committers |
|
WHO=taka@orange |
|
FTP_AREA=/export/home01/ftp/pub/OpenXM/${VERSION} |
|
|
# *If you do not like to use /usr/src/redhat area to put *rpm files, |
# *If you do not like to use /usr/src/redhat area to put *rpm files, |
# do as follows. |
# do as follows. |
# 0. If your rpm version is less than 3, |
# 0. If your rpm version is less than 3, |
|
|
@echo "make-directory" |
@echo "make-directory" |
@echo "link-for-real-openxm " |
@echo "link-for-real-openxm " |
@echo "link-for-fake-openxm " |
@echo "link-for-fake-openxm " |
|
@echo "copy-to-ftp-area " |
|
@echo "clean" |
|
|
build-binary-rpm: openxm-binary-spec |
build-binary-rpm: openxm-binary-spec |
(cd work/SPECS ; rpm -bb openxm-binary.spec ) |
(cd work/SPECS ; rpm -bb openxm-binary.spec ) |
Line 132 link-for-real-openxm: make-directory clean |
|
Line 138 link-for-real-openxm: make-directory clean |
|
link-for-fake-openxm: make-directory clean |
link-for-fake-openxm: make-directory clean |
(cd work/SOURCES ; rm -rf openxm-$(VERSION).tar.gz ; ln -s $(HOME)/tmp/openxm-fake.tar.gz ./openxm-$(VERSION).tar.gz) |
(cd work/SOURCES ; rm -rf openxm-$(VERSION).tar.gz ; ln -s $(HOME)/tmp/openxm-fake.tar.gz ./openxm-$(VERSION).tar.gz) |
|
|
|
copy-to-ftp-area: |
|
-scp work/RPMS/i386/openxm-*.rpm ${WHO}:${FTP_AREA} |
|
-scp work/RPMS/noarch/openxm-*.rpm ${WHO}:${FTP_AREA} |
|
-scp work/SRPMS/openxm-*.rpm ${WHO}:${FTP_AREA} |
|
|
|
|
|
|