002-destdir.patch 1.6 KB

123456789101112131415161718192021222324252627
  1. --- a/Makefile.in
  2. +++ b/Makefile.in
  3. @@ -75,15 +75,15 @@ dlibxlog: dlibsio dlibstr
  4. install: build
  5. for i in $(DAEMONDIR) $(BINDIR) $(MANDIR)/man5 $(MANDIR)/man8 ; do \
  6. - test -d $$i || mkdir -p $$i ; done
  7. - $(INSTALL_CMD) -m 755 xinetd/xinetd $(DAEMONDIR)
  8. - $(INSTALL_CMD) -m 755 xinetd/itox $(DAEMONDIR)
  9. - $(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DAEMONDIR)
  10. - $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(MANDIR)/man5/xinetd.conf.5
  11. - $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(MANDIR)/man8/xinetd.log.8
  12. - $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(MANDIR)/man8/xinetd.8
  13. - $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(MANDIR)/man8/itox.8
  14. - $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(MANDIR)/man8/xconv.pl.8
  15. + test -d $(DESTDIR)$$i || mkdir -p $(DESTDIR)$$i ; done
  16. + $(INSTALL_CMD) -m 755 xinetd/xinetd $(DESTDIR)$(DAEMONDIR)
  17. + $(INSTALL_CMD) -m 755 xinetd/itox $(DESTDIR)$(DAEMONDIR)
  18. + $(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DESTDIR)$(DAEMONDIR)
  19. + $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(DESTDIR)$(MANDIR)/man5/xinetd.conf.5
  20. + $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(DESTDIR)$(MANDIR)/man8/xinetd.log.8
  21. + $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(DESTDIR)$(MANDIR)/man8/xinetd.8
  22. + $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(DESTDIR)$(MANDIR)/man8/itox.8
  23. + $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(DESTDIR)$(MANDIR)/man8/xconv.pl.8
  24. @echo "You must put your xinetd.conf in /etc/xinetd.conf"
  25. @echo "There is a sample config file in xinetd/sample.conf and you can"
  26. @echo "use xconv.pl to convert your old inetd.conf file to an xinetd format"