NetBSD/usr.bin/file/tst/Makefile

35 lines
781 B
Makefile
Raw Normal View History

1993-07-31 19:17:49 +04:00
# $Id: Makefile,v 1.3 1993/07/31 15:23:22 mycroft Exp $
1993-03-21 12:45:37 +03:00
# Make up some fake test files that are easily produced.
# By no means an exhaustive test!
1993-07-31 19:17:49 +04:00
all: ar cmd emp i tarf x
1993-03-21 12:45:37 +03:00
ar:
echo '<ar> fake fake fake' >$@
echo 070707 fake fake fake >$@.asc
echo '!<arch>.__.SYMDEF fake fake fake' >$@.ranlib
echo -h- >$@.swt
1993-03-21 12:45:37 +03:00
cmd:
echo '#! /bin/sh' >$@
echo '#!/bin/sh' >c.sh2
echo '#! /bin/csh' >c.csh1
echo '#!/bin/csh' >c.csh2
echo '#! /bin/awk' >c.awk1
echo '#!/bin/awk' >c.awk2
echo '#! /' >c.misc1
echo '#!/' >c.misc2
echo ': ' >c.broken
emp:
touch $@
i:
echo '@document(language impress)fake fake' >$@
echo '@document(language diablo)fake fake' >$@.d
tarf:
rm -f $@ # so not include self
1993-03-21 12:45:37 +03:00
tar cvf $@ *
x:
echo 'Interpress/Xerox fake fake fake' >$@
clean:
rm -f [a-z]*