home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-08-07 | 919 b | 49 lines |
- #
- # Makefile for Help command
- #
- # By: $Author: plocher $ (John Plocher)
- # $Revision: 1.0 $
- # Last modified: $Date: 87/12/26 23:34:30 $
- # Source is in: $Source: /u/microport/src/help/RCS/Makefile,v $
- #
- # Release state: $State: Posted $
- #
- # Modification Log
- # ----------------
- #
- # $Log: Makefile,v $
- # Revision 1.0 87/12/26 23:34:30 plocher
- # Initial revision
- #
- #
- # $Header: Makefile,v 1.0 87/12/26 23:34:30 plocher Posted $
- #
-
- SHELL=/bin/sh
-
- # Where you put your local binaries...
- LOCAL= /usr/local
- HELPDIR= /usr/lib
-
- all: help
-
- help: help.o
- cc -o help help.o
-
- install: all
- chown root help
- chmod 755 help
- chmod u+s help
- if [ -f /usr/bin/help ] ; then mv /usr/bin/help /usr/bin/help.SV ; fi
- rm -f $(LOCAL)/help
- cp help $(LOCAL)
- chown root helpfile
- chmod 644 helpfile
- install -c $(HELPDIR) helpfile
-
- uninstall:
- rm -f $(LOCAL)/help $(HELPDIR)/helpfile $(HELPDIR)/helpfile.idx
-
- clean:
- rm -f help.o help
-