home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnututil.zip / Makefile.am < prev    next >
Makefile  |  1996-06-11  |  595b  |  21 lines

  1. ## Process this file with automake to produce Makefile.in
  2. EXTRA_DIST = @README_ALPHA@
  3. SUBDIRS = lib intl src doc man po
  4.  
  5. maintainer-check:
  6.  
  7. # Tag before making distribution.  Also, don't make a distribution if
  8. # checks fail.  Also, make sure the NEWS file is up-to-date.
  9. cvs-dist: maintainer-check
  10.     pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
  11.     ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
  12.     tag="$$pkg-$$ver"; \
  13.     echo tag=$$tag; \
  14.     if cvs -n log -h README| grep -e $$tag > /dev/null; then \
  15.       echo "VERSION not new; not releasing" 1>&2; \
  16.       exit 1; \
  17.     else :; \
  18.     fi; \
  19.     cvs tag -c $$tag
  20.     $(MAKE) dist
  21.