/contrib/groff/src/utils/indxbib/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 29 lines · 27 code · 2 blank · 0 comment · 0 complexity · b534230f6bbc15f22610cbaa27d2c672 MD5 · raw file

  1. PROG=indxbib$(EXEEXT)
  2. MAN1=indxbib.n
  3. XLIBS=$(LIBBIB) $(LIBGROFF)
  4. MLIB=$(LIBM)
  5. OBJS=\
  6. indxbib.$(OBJEXT) \
  7. signal.$(OBJEXT)
  8. CCSRCS=\
  9. $(srcdir)/indxbib.cpp
  10. CSRCS=\
  11. $(srcdir)/signal.c
  12. NAMEPREFIX=$(g)
  13. install_data: $(srcdir)/eign
  14. -test -d $(datadir) || $(mkinstalldirs) $(datadir)
  15. -test -d $(dataprogramdir) || $(mkinstalldirs) $(dataprogramdir)
  16. -test -d $(datasubdir) || $(mkinstalldirs) $(datasubdir)
  17. if test -f /usr/lib/eign; then \
  18. rm -f $(common_words_file); \
  19. ln -s /usr/lib/eign $(common_words_file) 2>/dev/null \
  20. || ln /usr/lib/eign $(common_words_file) 2>/dev/null \
  21. || cp /usr/lib/eign $(common_words_file); \
  22. else \
  23. rm -f $(common_words_file); \
  24. $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
  25. fi
  26. uninstall_sub:
  27. -rm -f $(common_words_file)