1 # for `make release' and `make html'
7 MANDIR
= $(PREFIX
)/man
/man1
9 X11LIB
=-L
/usr
/X11R6
/lib
-lX11
14 $(CC
) $(CFLAGS
) -o
$@
$< $(X11LIB
)
20 rm -f
*.1 xcopy
*.html
*.
tar.gz
23 halibut
--html
=$(DESTDIR
)/xcopy.html xcopy.but
27 ln
-s ..
/..
/xcopy.c reltmp
/xcopy
28 ln
-s ..
/..
/xcopy
.1 reltmp
/xcopy
29 ln
-s ..
/..
/xcopy.but reltmp
/xcopy
30 ln
-s ..
/..
/Makefile reltmp
/xcopy
31 tar -C reltmp
-chzf
$(DESTDIR
)/xcopy.
tar.gz xcopy
34 install: xcopy xcopy
.1
36 install xcopy
$(BINDIR
)/xcopy
38 install -m
0644 xcopy
.1 $(MANDIR
)/xcopy
.1