makepack 695 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/sh
  2. #
  3. # Shell script to make a FPC .tar package for Linux
  4. # Copyright 1996-2000 Michael Van Canneyt and Peter Vreman
  5. #
  6. # Version
  7. VERSION=1.00
  8. RELEASE=ELF
  9. unset FPCDIR
  10. # Goto the toplevel if necessary
  11. [ -d install ] || cd ..
  12. make linuxzip
  13. make sourcezip
  14. make docsrc
  15. make docs
  16. make demo
  17. SOURCES=`/bin/ls *src.tar.gz`
  18. FILES=`/bin/ls *linux.tar.gz *exm.tar.gz`
  19. RELFILES="binary.tar sources.tar demo.tar.gz docs.tar.gz install.sh"
  20. echo Creating binary.tar
  21. tar cf binary.tar $FILES
  22. echo Creating sources.tar
  23. tar cf sources.tar $SOURCES
  24. echo Copying install.sh
  25. cp install/install.sh .
  26. chmod 755 install.sh
  27. echo Creating fpc-$VERSION.$RELEASE.tar
  28. tar cf fpc-$VERSION.$RELEASE.tar $RELFILES