[BACK]Return to Makefile-suppl CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / Generic / openxm

File: [local] / OpenXM / misc / packages / Generic / openxm / Makefile-suppl (download)

Revision 1.2, Tue Sep 5 05:52:59 2000 UTC (23 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.1: +2 -2 lines

Updated the version number for fake-openxm.tar.gz

# $OpenXM: OpenXM/misc/packages/Generic/openxm/Makefile-suppl,v 1.2 2000/09/05 05:52:59 takayama Exp $
# Make a fake distribution for a test of RPM etc.
TAR_WORK=$(HOME)/tmp
VERSION=1.1.3

usage:

fake-openxm: clean
	mkdir work-fake
	mkdir work/fake/openxm-${VERSION}
	mkdir work-fake/openxm-${VERSION}/OpenXM
	mkdir work-fake/openxm-${VERSION}/OpenXM/bin work-fake/openxm-${VERSION}/OpenXM/lib work-fake/openxm-${VERSION}/OpenXM/doc work-fake/openxm-${VERSION}/OpenXM/man work-fake/openxm-${VERSION}/OpenXM/include work-fake/openxm-${VERSION}/OpenXM/rc
	mkdir work-fake/openxm-${VERSION}/OpenXM/Copyright work-fake/openxm-${VERSION}/OpenXM/misc
	touch work-fake/openxm-${VERSION}/OpenXM/bin/hoge-bin work-fake/openxm-${VERSION}/OpenXM/lib/hoge-lib work-fake/openxm-${VERSION}/OpenXM/doc/hoge-doc
	(cd work-fake/openxm-${VERSION}/OpenXM/bin ; ln -s ../lib/hoge-lib hoge-lib-link)
	touch work-fake/openxm-${VERSION}/OpenXM/include/hoge
	touch work-fake/openxm-${VERSION}/OpenXM/Copyright/hoge
	touch work-fake/openxm-${VERSION}/OpenXM/man/hoge-man
	touch work-fake/openxm-${VERSION}/OpenXM/rc/work-fake/openxm-${VERSION}/OpenXM 	work-fake/openxm-${VERSION}/OpenXM/rc/oxgp work-fake/openxm-${VERSION}/OpenXM/rc/asir work-fake/openxm-${VERSION}/OpenXM/rc/sm1
	touch work-fake/openxm-${VERSION}/OpenXM/rc/oxmath work-fake/openxm-${VERSION}/OpenXM/rc/oxMathematica
	mkdir work-fake/openxm-${VERSION}/OpenXM/src
	echo "configure:" >work-fake/openxm-${VERSION}/OpenXM/src/Makefile
	echo "	echo configure" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
	echo "binary-dist:" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
	echo "	echo binary-dist" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
	echo "install:" >work-fake/openxm-${VERSION}/OpenXM/rc/Makefile 
	echo '	cp * $${PREFIX}/bin' >>work-fake/openxm-${VERSION}/OpenXM/rc/Makefile 
	echo "Creating a fake tar ball at ${TAR_WORK}"
	(cd work-fake ; tar czf ${TAR_WORK}/openxm-fake.tar.gz openxm-${VERSION})


clean:
	/bin/rm -rf work-fake