PageRenderTime 28ms CodeModel.GetById 19ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

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