home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / QTERM / RTR / QTERM. next >
Encoding:
Text File  |  1998-07-24  |  1.1 KB  |  42 lines

  1. --- Makefile.orig    Fri Jan 31 17:21:03 1997
  2. +++ Makefile    Fri Jan 31 17:26:26 1997
  3. @@ -12,7 +12,7 @@
  4.  # DIR is the main/top-level directory.
  5.  # If you change DIR, run "make reconfig".
  6.  #
  7. -DIR = /usr/usc
  8. +DIR = <installdir>
  9.  
  10.  #
  11.  # BIN is were the "qterm" binary gets installed.
  12. @@ -28,7 +28,7 @@
  13.  # TABFILE should be set to the location you want the qterm table
  14.  # file placed in.
  15.  #
  16. -TABFILE = $(DIR)/lib/qtermtab
  17. +TABFILE = <installsharedir>/slib/qtermtab
  18.  
  19.  #
  20.  # Add "-DUSG5" to DEFS below, if your system is Unix System V.
  21. @@ -72,14 +72,13 @@
  22.  # Install target for BSD machines.
  23.  #
  24.  install: qterm qterm.1 qtermtab
  25. -    install -c -m 755 qterm $(BIN)
  26. -    install -c -m 644 qterm.1 $(MAN)
  27. -    install -c -m 644 qtermtab $(TABFILE)
  28. -
  29. +    cp qterm $(BIN); chmod 755 $(BIN)/qterm
  30. +    cp qterm.1 $(MAN); chmod 644 $(MAN)/qterm.1
  31. +    cp qtermtab $(TABFILE); chmod 644 $(TABFILE)
  32.  #
  33.  # Install target for System V machines.
  34.  #
  35.  install.usg5: qterm qterm.1 qtermtab
  36. -    cp qterm $(BIN); chmod 755 $(BIN)/qterm
  37. -    cp qterm.1 $(MAN); chmod 644 $(MAN)/qterm.1
  38. -    cp qtermtab $(TABFILE); chmod 644 $(TABFILE)
  39. +    cp qterm $(BIN)
  40. +    cp qterm.1 $(MAN)
  41. +    cp qtermtab $(TABFILE)
  42.