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

Annotation of OpenXM/misc/packages/Generic/openxm/Makefile-suppl, Revision 1.3

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>