Skip to content

Commit

Permalink
minor build script fix-up
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Nov 14, 2019
1 parent 6d06d03 commit 0e0f410
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions genman.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash

mkdir -p build && cd build && cmake .. && make -s && \
help2man -n "measure stack usage in applications" -N -o stackusage.1 ./stackusage
cd src && \
help2man -n "measure stack usage in applications" -N -o stackusage.1 ./stackusage && \
cd .. && \
mkdir -p build && cd build && cmake .. && make -s


6 changes: 3 additions & 3 deletions src/stackusage
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (C) 2015-2018 Kristofer Berggren
# Copyright (C) 2015-2019 Kristofer Berggren
# All rights reserved.
#
# stackusage is distributed under the BSD 3-Clause license, see LICENSE for details.
Expand Down Expand Up @@ -43,9 +43,9 @@ showusage()

showversion()
{
echo "stackusage v1.10"
echo "stackusage v1.11"
echo ""
echo "Copyright (C) 2015-2018 Kristofer Berggren"
echo "Copyright (C) 2015-2019 Kristofer Berggren"
echo ""
echo "stackusage is distributed under the BSD 3-Clause license."
echo ""
Expand Down
6 changes: 3 additions & 3 deletions src/stackusage.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH STACKUSAGE "1" "November 2018" "stackusage v1.1" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
.TH STACKUSAGE "1" "November 2019" "stackusage v1.11" "User Commands"
.SH NAME
stackusage \- measure stack usage in applications
.SH SYNOPSIS
Expand Down Expand Up @@ -57,6 +57,6 @@ Written by Kristofer Berggren
.SH "REPORTING BUGS"
Report bugs at https://github.com/d99kris/stackusage
.SH COPYRIGHT
Copyright \(co 2015\-2017 Kristofer Berggren
Copyright \(co 2015\-2019 Kristofer Berggren
.PP
stackusage is distributed under the BSD 3\-Clause license.

0 comments on commit 0e0f410

Please sign in to comment.