Douglas William Thrift 13 years ago
parent
commit
4f336a8c79
2 changed files with 23 additions and 2 deletions
  1. 2 2
      GNUmakefile.in
  2. 21 0
      dtpstree.man

+ 2 - 2
GNUmakefile.in

@@ -72,8 +72,8 @@ ifneq ($(HELP2MAN),:)
 ifneq ($(REALPATH),:)
 man: $(srcdir)/man1/dtpstree.1
 
-$(srcdir)/man1/%.1: % %.1.in
-	$(HELP2MAN) -I $(filter %.1.in,$^) -Nn '$(shell sed -e '$$ s|^// ||p;d' $(srcdir)/$<.cpp)' -o $@ -v -Vs $(shell $(REALPATH) $<)
+$(srcdir)/man1/%.1: % %.man
+	$(HELP2MAN) -I $(filter %.man,$^) -Nn '$(shell sed -e '$$ s|^// ||p;d' $(srcdir)/$<.cpp)' -o $@ -v -Vs $(shell $(REALPATH) $<)
 endif
 endif
 

+ 21 - 0
dtpstree.1.in → dtpstree.man

@@ -1,3 +1,24 @@
+.\" vim: filetype=nroff
+.\" DT PS Tree
+.\"
+.\" Douglas Thrift
+.\"
+.\" dtpstree.man
+
+.\"  Copyright 2010 Douglas Thrift
+.\"
+.\"  Licensed under the Apache License, Version 2.0 (the "License");
+.\"  you may not use this file except in compliance with the License.
+.\"  You may obtain a copy of the License at
+.\"
+.\"      http://www.apache.org/licenses/LICENSE-2.0
+.\"
+.\"  Unless required by applicable law or agreed to in writing, software
+.\"  distributed under the License is distributed on an "AS IS" BASIS,
+.\"  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+.\"  See the License for the specific language governing permissions and
+.\"  limitations under the License.
+
 [DESCRIPTION]
 .B dtpstree
 shows running processes as a tree. It is a reimplementation of \fBpstree\fR from