1 # for `make release' and `make html'
7 MANDIR
= $(PREFIX
)/man
/man1
9 IPROG
=# flags for installing programs (default none)
10 IDATA
= -m
0644 # flags for installing data
12 X11LIB
=-L
/usr
/X11R6
/lib
-lX11
17 $(CC
) $(CFLAGS
) -o
$@
$< $(X11LIB
)
23 rm -f
*.1 xcopy
*.html
*.
tar.gz
26 halibut
--html
=$(DESTDIR
)/xcopy.html xcopy.but
30 ln
-s ..
/..
/xcopy.c reltmp
/xcopy
31 ln
-s ..
/..
/xcopy
.1 reltmp
/xcopy
32 ln
-s ..
/..
/xcopy.but reltmp
/xcopy
33 ln
-s ..
/..
/Makefile reltmp
/xcopy
34 tar -C reltmp
-chzf
$(DESTDIR
)/xcopy.
tar.gz xcopy
37 install: xcopy xcopy
.1
39 $(INSTALL
) $(IPROG
) xcopy
$(BINDIR
)/xcopy
41 $(INSTALL
) $(IDATA
) xcopy
.1 $(MANDIR
)/xcopy
.1