Douglas William Thrift 14 years ago
parent
commit
d2b7f432f2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      GNUmakefile
  2. 1 1
      man1/dtpstree.1

+ 1 - 1
GNUmakefile

@@ -10,7 +10,7 @@ all: dtpstree
 man: man1/dtpstree.1
 man: man1/dtpstree.1
 
 
 man1/%.1: %
 man1/%.1: %
-	help2man -Nn '$(shell sed -e '$$ s/^# //p;d' $<)' -o $@ $(shell realpath $<)
+	help2man -Nn '$(shell sed -e '$$ s|^// ||p;d' $<.cpp)' -o $@ $(shell realpath $<)
 
 
 clean:
 clean:
 	rm -f dtpstree
 	rm -f dtpstree

+ 1 - 1
man1/dtpstree.1

@@ -1,7 +1,7 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.38.2.
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.38.2.
 .TH DTPSTREE "1" "May 2010" "dtpstree 1.0.1" "User Commands"
 .TH DTPSTREE "1" "May 2010" "dtpstree 1.0.1" "User Commands"
 .SH NAME
 .SH NAME
-dtpstree \- manual page for dtpstree 1.0.1
+dtpstree \- display a tree of processes
 .SH SYNOPSIS
 .SH SYNOPSIS
 .B dtpstree
 .B dtpstree
 [\fIOPTION\fR...] [\fIPID|USER\fR]
 [\fIOPTION\fR...] [\fIPID|USER\fR]