Compare commits
No commits in common. "07a2f1efc2b590c179cc3be7af187b81f1f98b40" and "444e682f0256d96f57b969931c8bb9c09b3e30a3" have entirely different histories.
07a2f1efc2
...
444e682f02
10
Makefile
10
Makefile
@ -22,9 +22,9 @@ OS_INCLUDE != test -e include/$(OS).mk && printf 'include/$(OS).mk\n' \
|
|||||||
|| printf '/dev/null\n'
|
|| printf '/dev/null\n'
|
||||||
|
|
||||||
# normalized prefix
|
# normalized prefix
|
||||||
PREFIX_N != realpath $(PREFIX)
|
PREFIX_N != dirname $(PREFIX)/.
|
||||||
MANDIR != test $(PREFIX_N) = / && printf '/usr/share/man\n' \
|
MANDIR != test $(PREFIX_N) = / && printf '/usr/share/man\n' \
|
||||||
|| printf '$(PREFIX_N)/man\n'
|
|| printf '/share/man\n'
|
||||||
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | tr ' ' '\n' \
|
SYSEXITS != printf '\043include <sysexits.h>\n' | cpp -M - | tr ' ' '\n' \
|
||||||
| sed -n 's/sysexits\.h//p' || printf 'include\n'
|
| sed -n 's/sysexits\.h//p' || printf 'include\n'
|
||||||
|
|
||||||
@ -54,9 +54,9 @@ clean:
|
|||||||
rm -rf build dist
|
rm -rf build dist
|
||||||
|
|
||||||
dist: all docs
|
dist: all docs
|
||||||
mkdir -p $(DESTDIR)/$(PREFIX_N)/bin $(DESTDIR)/$(MANDIR)/man1
|
mkdir -p $(DESTDIR)/$(PREFIX)/bin $(DESTDIR)/$(PREFIX)/$(MANDIR)/man1
|
||||||
cp build/bin/* $(DESTDIR)/$(PREFIX_N)/bin
|
cp build/bin/* $(DESTDIR)/$(PREFIX)/bin
|
||||||
cp build/docs/*.1 $(DESTDIR)/$(MANDIR)/man1
|
cp build/docs/*.1 $(DESTDIR)/$(PREFIX)/$(MANDIR)/man1
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: dist
|
install: dist
|
||||||
|
Loading…
Reference in New Issue
Block a user