]> granicus.if.org Git - file/commitdiff
replace TARGETS MANIFEST Makefile
authorIan Darwin <ian@darwinsys.com>
Mon, 5 Apr 1993 10:27:30 +0000 (10:27 +0000)
committerIan Darwin <ian@darwinsys.com>
Mon, 5 Apr 1993 10:27:30 +0000 (10:27 +0000)
src/Makefile

index 0740c8e6c165a0763a5c87bf5e52dcaaaee55e44..e92f3059d9ce385e74fb411bc437e4841dcb206f 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile for file(1) cmd. 
 # Copyright (c) Ian F. Darwin 86/09/01 - see LEGAL.NOTICE.
-# @(#)$Id: Makefile,v 1.31 1993/02/19 14:11:26 ian Exp $
+# @(#)$Id: Makefile,v 1.32 1993/04/05 10:27:30 ian Exp $
 #
 # This software is not subject to any license of the American Telephone
 # and Telegraph Company or of the Regents of the University of California.
@@ -109,7 +109,7 @@ install:    file magic file.1 magic.4 $(BINDIR) $(MANCDIR) $(MANCDIR)
                cp magic.4      $(MANFDIR)/magic.$(MANFEXT)
 
 clean:
-               rm -f *.o core file magic lint dist.* TARGETS lastnocore
+               rm -f *.o core file magic lint dist.* MANIFEST lastnocore
 clobber:
                cd tst; make clean
 
@@ -120,19 +120,22 @@ dist:             dist.src dist.magic
                @echo Now check this patchlevel!
                ident patchlevel.h
 
-dist.src:      $(ALLSRC) TARGETS
+dist.src:      $(ALLSRC) MANIFEST
 #              Some versions of shar can't handle a single file from
 #              a subdirectory, so we manually insert mkdir as needed.
 #              The point is to exclude all the generable targets in tst.
                (echo mkdir localinc localinc/sys localsrc tst; \
-                       $(SHAR) $(ALLSRC) TARGETS) > $@
+                       $(SHAR) $(ALLSRC) MANIFEST) > $@
 
 new:           $(ALLSRC)
                echo $?
                touch new
 
-TARGETS:       $(ALLSRC)
-               ident $(ALLSRC) > TARGETS
+MANIFEST:      $(ALLSRC)
+               ident $(ALLSRC) > MANIFEST
 dist.magic:    Magdir
 #              As above, but to exclude Magdir/RCS from being shipped.
                (echo mkdir Magdir; $(SHAR) $(ALLMAGIC)) >$@
+
+tar:           $(ALLSRC) $(ALLMAGIC)
+               tar cvf /dev/rfd0a $(ALLSRC) $(ALLMAGIC)