# # Copyright (c) 1999,2000 WU-FTPD Development Group. # All rights reserved. # # Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 # The Regents of the University of California. # Portions Copyright (c) 1993, 1994 Washington University in Saint Louis. # Portions Copyright (c) 1989 Massachusetts Institute of Technology. # Portions Copyright (c) 1998 Sendmail, Inc. # Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman. # Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc. # Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997 # Free Software Foundation, Inc. # Portions Copyright (c) 1997 Stan Barber. # Portions Copyright (c) 1997 Kent Landfield. # # Use and distribution of this software and its source code are governed by # the terms and conditions of the WU-FTPD Software License ("LICENSE"). # # If you did not receive a copy of the license, it may be obtained online at # http://www.wu-ftpd.org/license.html. # # $Id: Makefile.ptx,v 1.7 2000/07/01 17:56:26 wuftpd Exp $ # DESTDIR= BINDIR= ${DESTDIR}/usr/bin BINOWN= bin BINGRP= bin SBINDIR= ${DESTDIR}/etc SBINOWN= bin SBINGRP= bin MANDIR= ${DESTDIR}/usr/man MANOWN= bin MANGRP= bin INSTALL= install all: @ echo 'Use the "build" command (shell script) to make ftpd.' @ echo 'You can say "build help" for details on how it works.' install: bin/ftpd bin/ftpcount bin/ftpshut bin/ftprestart bin/ftpwho bin/privatepw @echo installing binaries. @if [ ! -e ${BINDIR} ]; then \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${BINDIR} ; \ fi @if [ ! -e ${SBINDIR} ]; then \ ${INSTALL} -o ${SBINOWN} -g ${SBINGRP} -m 755 -d ${SBINDIR} ; \ fi ${INSTALL} -c -o ${SBINOWN} -g ${SBINGRP} -m 110 bin/ftpd ${SBINDIR}/in.ftpd ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpshut ${BINDIR}/ftpshut ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftprestart ${BINDIR}/ftprestart ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpcount ${BINDIR}/ftpcount ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/ftpwho ${BINDIR}/ftpwho ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 111 bin/privatepw ${BINDIR}/privatepw @echo installing manpages. @if [ ! -e ${MANDIR}/man1 ]; then \ ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m 755 -d ${MANDIR}/man1 ; \ fi ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpwho.1 ${MANDIR}/man1/ftpwho.1 @if [ ! -e ${MANDIR}/man5 ]; then \ ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m 755 -d ${MANDIR}/man5 ; \ fi ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpaccess.5 ${MANDIR}/man5/ftpaccess.5 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpconversions.5 ${MANDIR}/man5/ftpconversions.5 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/xferlog.5 ${MANDIR}/man5/xferlog.5 @if [ ! -e ${MANDIR}/man8 ]; then \ ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m 755 -d ${MANDIR}/man8 ; \ fi ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpd.8 ${MANDIR}/man8/ftpd.8 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 doc/ftprestart.8 ${MANDIR}/man8/ftprestart.8 ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m 444 util/privatepw/privatepw.8 ${MANDIR}/man8/privatepw.8