# $Id: GNUmakefile,v 1.1 1994/03/09 08:46:45 jraja Exp $ # # GNUmakefile for AmiTCP/IP documentation # # Authors: ppessi # jraja # too # puhuri # # Copyright © 1993 AmiTCP/IP Group, # Helsinki University of Technology, Finland. # All rights reserved. # # Created : Sat Mar 20 02:44:57 1993 ppessi # Last modified: Wed Mar 9 10:45:50 1994 jraja # MAKE = gmake RM= delete RM_RECURSIVE= delete all MKDIR= makedir DIST_DOC = $(DIST)/doc RPCDOCSRC= rpc/AmiTCP-Notes.texi rpc/DISCLAIMER.texi rpc/Makefile \ rpc/NFS-RFC.texi rpc/RPC-Prog.texi rpc/RPC-RFC.texi rpc/RPC-man.texi \ rpc/RPC.texi rpc/XDR-Notes.texi rpc/XDR-RFC.texi rpc/XDR-man.texi \ rpc/misc-man.texi rpc/portmap-man.texi rpc/rpc-file-man.texi \ rpc/rpcgen-man.texi rpc/rpcgen.texi rpc/rpcinfo-man.texi rpc/test.texi SRCS= $(RPCDOCSRC) GNUmakefile all: DIST: $(DIST_DOC) $(DIST_DOC): $(SRCS) test -d $(DIST) || mkdir $(DIST) test -d $(DIST_DOC) || mkdir $(DIST_DOC) tar cf - $(SRCS) | (cd $(DIST_DOC); tar xf -) RELEASE: $(SRCS) for F in $(SRCS) ; do \ rlog -R $$F && { \ if ident -q $$F | fgrep '$$' >/dev/null ; \ then rcs -q '-N$(RELEASE):$$' $$F ; \ else rcs -q '-N$(RELEASE):' $$F ;\ fi ; \ } ;\ done locks: @rlog -R -L $(SRCS) mylocks: @rlog -R -l`whoami` -L $(SRCS) verlocks: @rlog -h -L $(CSRCS)