home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / util / gnu / groff_src.lha / groff-1.10src / indxbib / Makefile.sub < prev    next >
Makefile  |  1993-01-04  |  654b  |  25 lines

  1. PROG=indxbib
  2. MAN1=indxbib.n
  3. XLIBS=$(LIBBIB) $(LIBGROFF)
  4. MLIB=$(LIBM)
  5. OBJS=indxbib.o dirnamemax.o signal.o
  6. CCSRCS=indxbib.cc
  7. CSRCS=dirnamemax.c signal.c
  8. NAMEPREFIX=$(g)
  9.  
  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
  22.  
  23. uninstall_sub:
  24.     -rm -f $(common_words_file)
  25.