Browse Source

Now installs the man page.

dtrg 17 years ago
parent
commit
903796a817
1 changed files with 7 additions and 3 deletions
  1. 7 3
      util/ack/pmfile

+ 7 - 3
util/ack/pmfile

@@ -1,7 +1,7 @@
 -- $Source$
 -- $State$
 
-local d = ROOTDIR.."util/ack/"
+local d = "%ROOTDIR%util/ack/"
 
 local mktable = cprogram {
 	cfile (d.."mktables.c")
@@ -10,7 +10,7 @@ local mktable = cprogram {
 local makeheaders = simple {
 	outputs= {"%U%/dmach.c", "%U%/intable.c"},
 	command = {
-		"cd %{return posix.dirname(self.out[1])}% && %{return self['in'][1]}% %BINDIR%lib"
+		"cd %out[1]:dirname% && %in[1]% %BINDIR%lib"
 	},
 	
 	mktable
@@ -44,12 +44,16 @@ tool_ack = cprogram {
 	install = {
 		pm.install("%BINDIR%bin/ack"),
 		pm.install("%ROOTDIR%/lib/descr/fe", "%BINDIR%%PLATIND%/descr/fe"),
+		pm.install(d.."ack.1.X", "%BINDIR%man/man1/ack.1")
 	}
 }
 
 -- Revision history
 -- $Log$
--- Revision 1.2  2006-10-15 00:28:12  dtrg
+-- Revision 1.3  2007-02-25 12:48:06  dtrg
+-- Now installs the man page.
+--
+-- Revision 1.2  2006/10/15 00:28:12  dtrg
 -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
 --
 -- Revision 1.1  2006/07/20 23:18:18  dtrg