groff before CVS: release 1.06
[s-roff.git] / indxbib / Makefile.sub
blob853884f893ecae975fd0d50f83a908fb8d8c4b56
1 PROG=indxbib
2 MAN1=indxbib.n
3 XLIBS=$(LIBBIB) $(LIBGROFF)
4 MLIB=$(LIBM)
5 OBJS=indxbib.o dirnamemax.o
6 CCSRCS=indxbib.cc
7 CSRCS=dirnamemax.c
8 NAMEPREFIX=$(g)
10 install_data: eign
11         -test -d $(datadir) || mkdir $(datadir)
12         -test -d $(datasubdir) || mkdir $(datasubdir)
13         if test -f /usr/lib/eign; then \
14           rm -f $(common_words_file); \
15           ln -s /usr/lib/eign $(common_words_file) 2>/dev/null \
16           || ln /usr/lib/eign $(common_words_file) 2>/dev/null \
17           || cp /usr/lib/eign $(common_words_file); \
18         else \
19           rm -f $(common_words_file); \
20           $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
21         fi