/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
- PROG=indxbib$(EXEEXT)
- MAN1=indxbib.n
- XLIBS=$(LIBBIB) $(LIBGROFF)
- MLIB=$(LIBM)
- OBJS=\
- indxbib.$(OBJEXT) \
- signal.$(OBJEXT)
- CCSRCS=\
- $(srcdir)/indxbib.cpp
- CSRCS=\
- $(srcdir)/signal.c
- NAMEPREFIX=$(g)
- install_data: $(srcdir)/eign
- -test -d $(datadir) || $(mkinstalldirs) $(datadir)
- -test -d $(dataprogramdir) || $(mkinstalldirs) $(dataprogramdir)
- -test -d $(datasubdir) || $(mkinstalldirs) $(datasubdir)
- if test -f /usr/lib/eign; then \
- rm -f $(common_words_file); \
- ln -s /usr/lib/eign $(common_words_file) 2>/dev/null \
- || ln /usr/lib/eign $(common_words_file) 2>/dev/null \
- || cp /usr/lib/eign $(common_words_file); \
- else \
- rm -f $(common_words_file); \
- $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
- fi
- uninstall_sub:
- -rm -f $(common_words_file)