+ rm -f *.1 xcopy *.html *.tar.gz
+
+html:
+ halibut --html=$(DESTDIR)/xcopy.html xcopy.but
+
+release: xcopy.1
+ mkdir -p reltmp/xcopy
+ ln -s ../../xcopy.c reltmp/xcopy
+ ln -s ../../xcopy.1 reltmp/xcopy
+ ln -s ../../xcopy.but reltmp/xcopy
+ ln -s ../../Makefile reltmp/xcopy
+ tar -C reltmp -chzf $(DESTDIR)/xcopy.tar.gz xcopy
+ rm -rf reltmp
+
+install: install-progs install-man
+
+install-progs: xcopy
+ mkdir -p $(BINDIR)
+ $(INSTALL) $(IPROG) xcopy $(BINDIR)/xcopy
+install-man: xcopy.1
+ mkdir -p $(MANDIR)
+ $(INSTALL) $(IDATA) xcopy.1 $(MANDIR)/xcopy.1