home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-03-26 | 860 b | 40 lines |
- #
- BIN=/usr/local/bin # directory for binaries
- DQUOTAS=/usr/local/lib/disk
- #
- SRC1 = README Makefile configure allowed dcheck.1 alternate
- SRC2 = dcheck diskhog diskhog.h nohog.c csh_hog.c nohog.1 diskhog.1
-
- config: .config
-
- .config:
- sh configure
- @touch .config
-
- install: nohog dcheck diskhog allowed ${DQUOTAS}/hogs ${DQUOTAS}
- @echo "If your system has csh, maybe you need to 'make csh'"
- @echo "Try 'make -n csh' first."
- chown root nohog
- chmod 4111 nohog
- cp nohog ${BIN}
- chmod +x dcheck diskhog
- cp dcheck diskhog ${BIN}
- cp allowed ${DQUOTAS}
-
- csh: csh_hog
- if [ ! -f /etc/csh ] ; then mv /bin/csh /etc/csh ; fi
- cp csh_hog /bin/csh
-
- ${DQUOTAS}/hogs:
- mkdir ${DQUOTAS}/hogs
-
- ${DQUOTAS}:
- mkdir ${DQUOTAS}
-
- shar: ${SRC}
- shar -cv -p X ${SRC1} > diskhog.shar.1
- shar -cv -p X ${SRC2} > diskhog.shar.2
-
- README: README.nr
- nroff -cm README.nr > README
-