home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-src.tgz / tar.out / fsf / ncurses / dist.mk < prev    next >
Text File  |  1996-09-28  |  2KB  |  50 lines

  1. # Makefile for creating ncurses distributions.
  2. #
  3. # This only needs to be used directly as a makefile by developers, but
  4. # configure mines the current version number out of here.  To move
  5. # to a new version number, just edit this file and run configure.
  6. #
  7. SHELL = /bin/sh
  8.  
  9. # Below are the ncurses release version and the ncurses ABI version
  10. # (the latter is used to build the shared library).  If two ncurses libraries
  11. # have the same ABI version, their application binary interface must be
  12. # identical or one must be a superset of the other.  The ABI version number
  13. # is independent of the ncurses release version. For ncurses release
  14. # version 1.9.5, the ABI version is 1.9.  We can have the ABI version
  15. # 1.9a, 1.9b, 1.9foobar, ... when the ncurses release version changes
  16. # If a new ncurses has an incompatible application binary interface than
  17. # previous one, the ABI version should be changed.
  18. VERSION = 1.9.9e
  19. SHARED_ABI = 3.0
  20.  
  21. dist: announce.html misc/ncurses-intro.doc misc/hackguide.doc
  22.     (cd ..;  tar cvf ncurses-$(VERSION).tar `sed <ncurses-$(VERSION)/MANIFEST 's/^./ncurses-$(VERSION)/'`;  gzip ncurses-$(VERSION).tar)
  23.  
  24. distclean:
  25.     rm ANNOUNCE announce.html misc/ncurses-intro.doc misc/hackguide.doc
  26.  
  27. # Don't mess with announce.html.in unless you have lynx available!
  28. announce.html: announce.html.in
  29.     sed 's,@VERSION@,$(VERSION),' <announce.html.in >announce.html
  30.     lynx -dump announce.html >ANNOUNCE
  31.  
  32. misc/ncurses-intro.doc: misc/ncurses-intro.html
  33.     lynx -dump misc/ncurses-intro.html > misc/ncurses-intro.doc
  34. misc/hackguide.doc: misc/hackguide.html
  35.     lynx -dump misc/hackguide.html > misc/hackguide.doc
  36.  
  37. # Prepare distribution for version control
  38. vcprepare:
  39.     find . -type d -exec mkdir {}/RCS \;
  40.  
  41. # Write-lock almost all files not under version control.
  42. EXCEPTIONS = 'announce.html$\\|ANNOUNCE\\|misc/.*\\.doc\\|man/terminfo.5\\|lib_gen.c'
  43. writelock:
  44.     for x in `grep -v $(EXCEPTIONS) MANIFEST`; do if [ ! -f `dirname $$x`/RCS/`basename $$x`,v ]; then chmod a-w $${x}; fi; done
  45.  
  46. TAGS:
  47.     etags */*.[ch]
  48.  
  49. # Makefile ends here
  50.