Makefile 363 B

123456789101112131415
  1. ##################################
  2. # Man page installation for linux
  3. #
  4. ifndef INSTALL_PREFIX
  5. INSTALL_PREFIX=/usr/local
  6. endif
  7. INSTALL_MANDIR=$(INSTALL_PREFIX)/man
  8. installman:
  9. install -d -m 755 $(INSTALL_MANDIR)/man1
  10. install -d -m 755 $(INSTALL_MANDIR)/man5
  11. install -c -m 644 man1/*.1 $(INSTALL_MANDIR)/man1
  12. install -c -m 644 man5/*.5 $(INSTALL_MANDIR)/man5