diff options
Diffstat (limited to 'indxbib/Makefile.sub')
-rw-r--r-- | indxbib/Makefile.sub | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/indxbib/Makefile.sub b/indxbib/Makefile.sub new file mode 100644 index 000000000..853884f89 --- /dev/null +++ b/indxbib/Makefile.sub @@ -0,0 +1,21 @@ +PROG=indxbib +MAN1=indxbib.n +XLIBS=$(LIBBIB) $(LIBGROFF) +MLIB=$(LIBM) +OBJS=indxbib.o dirnamemax.o +CCSRCS=indxbib.cc +CSRCS=dirnamemax.c +NAMEPREFIX=$(g) + +install_data: eign + -test -d $(datadir) || mkdir $(datadir) + -test -d $(datasubdir) || mkdir $(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 |