1 # for `make release' and `make html'
7 SCRIPTDIR
= $(PREFIX
)/bin
8 MANDIR
= $(PREFIX
)/man
/man1
10 IPROG
=# flags for installing programs (default none)
11 IDATA
= -m
0644 # flags for installing data
13 X11LIB
=-L
/usr
/X11R6
/lib
-lX11
20 $(CC
) $(CFLAGS
) -o
$@
$< $(X11LIB
)
26 rm -f
*.1 xcopy
*.html
*.
tar.gz
29 halibut
--html
=xcopy.html xcopy.but
30 mv xcopy.html
$(DESTDIR
)/xcopy.html
34 ln
-s ..
/..
/xcopy.c reltmp
/xcopy
35 ln
-s ..
/..
/xcopy
.1 reltmp
/xcopy
36 ln
-s ..
/..
/xcopy.but reltmp
/xcopy
37 ln
-s ..
/..
/Makefile reltmp
/xcopy
38 tar -C reltmp
-chzf
$(DESTDIR
)/xcopy.
tar.gz xcopy
41 install: install-progs install-man
45 $(INSTALL
) $(IPROG
) xcopy
$(BINDIR
)/xcopy
48 $(INSTALL
) $(IDATA
) xcopy
.1 $(MANDIR
)/xcopy
.1