Annotation of OpenXM/misc/packages/Generic/openxm/Makefile-suppl, Revision 1.1
1.1 ! takayama 1: # $OpenXM$
! 2: # Make a fake distribution for a test of RPM etc.
! 3: TAR_WORK=$(HOME)/tmp
! 4: VERSION=1.1.2
! 5:
! 6: usage:
! 7:
! 8: fake-openxm: clean
! 9: mkdir work-fake
! 10: mkdir work/fake/openxm-${VERSION}
! 11: mkdir work-fake/openxm-${VERSION}/OpenXM
! 12: 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
! 13: mkdir work-fake/openxm-${VERSION}/OpenXM/Copyright work-fake/openxm-${VERSION}/OpenXM/misc
! 14: 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
! 15: (cd work-fake/openxm-${VERSION}/OpenXM/bin ; ln -s ../lib/hoge-lib hoge-lib-link)
! 16: touch work-fake/openxm-${VERSION}/OpenXM/include/hoge
! 17: touch work-fake/openxm-${VERSION}/OpenXM/Copyright/hoge
! 18: touch work-fake/openxm-${VERSION}/OpenXM/man/hoge-man
! 19: 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
! 20: touch work-fake/openxm-${VERSION}/OpenXM/rc/oxmath work-fake/openxm-${VERSION}/OpenXM/rc/oxMathematica
! 21: mkdir work-fake/openxm-${VERSION}/OpenXM/src
! 22: echo "configure:" >work-fake/openxm-${VERSION}/OpenXM/src/Makefile
! 23: echo " echo configure" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
! 24: echo "binary-dist:" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
! 25: echo " echo binary-dist" >>work-fake/openxm-${VERSION}/OpenXM/src/Makefile
! 26: echo "install:" >work-fake/openxm-${VERSION}/OpenXM/rc/Makefile
! 27: echo ' cp * $${PREFIX}/bin' >>work-fake/openxm-${VERSION}/OpenXM/rc/Makefile
! 28: echo "Creating a fake tar ball at ${TAR_WORK}"
! 29: (cd work-fake ; tar czf ${TAR_WORK}/openxm-fake.tar.gz openxm-${VERSION})
! 30:
! 31:
! 32: clean:
! 33: /bin/rm -rf work-fake
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>