home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume14 / sccs_b / part01 / Makefile < prev    next >
Encoding:
Makefile  |  1990-09-20  |  1.8 KB  |  65 lines

  1. #  sccsid="%W% %G% %U%";
  2. #
  3. #    Makefile.sccs
  4. #
  5. #    PROGRAM(s)  : sccs_admin, sccs_edit, sccs_get, sccs_delta, sccs_install
  6. #    AUTHOR        : W. Hatch
  7. #            Coleman Research
  8. #            14504 Greenview Drive Suite 500
  9. #            Laurel, Maryland 20708
  10. #            (301)470-3839
  11. #            uunet!bts!bill
  12. #    DATE        : 7/19/88
  13. #    PROJECT        : WEH Software
  14. #
  15. #    This Makefile template assumes that the following shell scripts
  16. #    are installed in one of the user's PATH directories
  17. #
  18. #--------------------------------------------------------------------------
  19.  
  20. #--------------------------------------------------------------------------
  21. #  1. define symbolic constants
  22. #
  23. #    root directory for this activity
  24. ROOT=/usr/local
  25. #
  26. #    target directory for executables
  27. BIN=$(ROOT)/bin
  28. #
  29. #    documentation target directory
  30. DOCINSTALL=$(ROOT)/doc
  31. #
  32. #    list of shell script files maintained with this makefile
  33. SCRIPT= sccs_admin sccs_delta sccs_edit sccs_get sccs_install
  34. #
  35. #    list of all junk files that might occur in this directory
  36. JUNK=core a.out JOURNAL LINT paste.txt error.log dbg_jnl*
  37.  
  38.  
  39. #--------------------------------------------------------------------------
  40. #  4. install all objects of this make
  41. #--------------------------------------------------------------------------
  42. install:  $(SCRIPT) $(DOC)
  43.     for i in  $(SCRIPT); do \
  44.         chmod ugo+x $$i; \
  45.         cp $$i  $(BIN); \
  46.     done
  47.     #cp $(DOC) $(DOCINSTALL)
  48.  
  49. #--------------------------------------------------------------------------
  50. #  8. uninstall all installed targets of this make
  51. #--------------------------------------------------------------------------
  52. uninstall:
  53.     for i in  $(SCRIPT); do; \
  54.         rm -f $(BIN)/$$i; \
  55.     done
  56.     #for i in $(DOC); do; \
  57.     #    rm -f $(DOCINSTALL)/$$i; \
  58.     #done
  59.  
  60. #--------------------------------------------------------------------------
  61. #  15. print all source
  62. #--------------------------------------------------------------------------
  63. print:
  64.     pf $(SCRIPT) Makefile
  65.