Fix the installation of manpages when using INSTALLROOT.

This commit is contained in:
hpa 2001-11-15 05:31:21 +00:00
parent cc471b0f7a
commit 69b2544ed0
3 changed files with 3 additions and 182 deletions

View file

@ -21,7 +21,7 @@ install: tftpd
mkdir -p $(INSTALLROOT)$(SBINDIR) $(INSTALLROOT)$(MANDIR)/man8
$(INSTALL_PROGRAM) tftpd $(INSTALLROOT)$(SBINDIR)/in.tftpd
$(INSTALL_DATA) tftpd.8 $(INSTALLROOT)$(MANDIR)/man8/in.tftpd.8
ln -sf in.tftpd.8 $(INSTALLROOT)$(MANDIR)/man8/tftpd.8
cd $(INSTALLROOT)$(MANDIR)/man8 && ln -sf in.tftpd.8 tftpd.8
clean:
rm -f *.o tftpd tftpsubs.c tftpsubs.h