File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : all clean docs install dist test benchmark memcheck profile
2
2
3
+ OS := $(shell uname -s)
4
+
3
5
ifneq (${OS}, Darwin)
4
6
LDFLAGS += -static
5
7
endif
6
8
7
- OS := $(shell uname -s)
8
9
CFLAGS += -D_GNU_SOURCE=1 -O3 -Wall -Werror -Winline -pedantic-errors -std=c99
9
10
PREFIX := /usr/local
10
11
BINDIR := $(PREFIX ) /bin
11
- MANDIR := $(PREFIX ) /man/man1
12
+ MANDIR := $(PREFIX ) /share/ man/man1
12
13
SHA := $(shell git rev-parse HEAD)
13
14
14
15
all : jt docs
@@ -53,7 +54,7 @@ install: jt jt.1
53
54
54
55
jt.tar : jt jt.1
55
56
tar cf $@ --transform ' s@^@bin/@' jt
56
- tar uf $@ --transform ' s@^@man/man1/@' jt.1
57
+ tar uf $@ --transform ' s@^@share/ man/man1/@' jt.1
57
58
58
59
% .tar.gz : % .tar
59
60
gzip -f $^
Original file line number Diff line number Diff line change @@ -169,6 +169,11 @@ Otherwise, build from source:
169
169
make && make test && sudo make install
170
170
```
171
171
172
+ > ** NOTE:** Previous versions installed the ** jt** manual in the ` $PREFIX/man/ `
173
+ > directory, which was incorrect. They are now installed into ` $PREFIX/share/man/ ` .
174
+ > If you have installed ** jt** previously you will probably want to delete those
175
+ > old man pages from the ` $PREFIX/man/ ` directory if you install a newer version.
176
+
172
177
## DOCUMENTATION
173
178
174
179
See the [ man page] [ man ] or ` man jt ` in your terminal.
You can’t perform that action at this time.
0 commit comments