This commit is contained in:
CismonX 2020-02-03 01:43:55 +08:00
parent ecdd2828b2
commit 280783e286
No known key found for this signature in database
GPG Key ID: 315D6652268C5007
2 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,6 @@ os:
dist: bionic
sudo: required
compiler:
- gcc
- clang

View File

@ -1,10 +1,10 @@
MANPATH_MAP = $(shell cat $(MANPATH_CONF) | grep -w -m1 $(prefix))
MANPATH_MAP = $(shell cat $(MANPATH_CONF) | grep -w -m1 $(prefix)/bin)
MAN_DIR = $(word 3, $(MANPATH_MAP))
MAN1_DIR = $(MAN_DIR)/man1
MAN_FILES = u6ac.1 u6a.1
install: $(MAN_FILES)
cp -t $(MAN1_DIR) $^ && $(REBUILD_MANDB) $(MAN_DIR)
cp $^ $(MAN1_DIR) && $(REBUILD_MANDB) $(MAN_DIR)
uninstall: $(MAN_FILES)
pushd $(MAN1_DIR) && rm -f $^ && popd && $(REBUILD_MANDB) $(MAN_DIR)