mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
Second attempt at properly creating the manpage dir (#542)
This commit is contained in:
parent
c887edfc8c
commit
bcd7e8396d
@ -220,9 +220,8 @@ $(USR_LOCAL_BIN)% : $(BINDIR)/%
|
|||||||
@echo "-- Copying $@"
|
@echo "-- Copying $@"
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
$(MAN_PAGE_DIR)/%.1 : $(DOC_DIR)/%.1
|
$(MAN_PAGE_DIR)/%.1 : $(DOC_DIR)/%.1 | $(MAN_PAGE_DIR)/
|
||||||
@echo "-- Copying $@"
|
@echo "-- Copying $@"
|
||||||
mkdir -p $@
|
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
$(DOC_DIR)/%_man_page.txt : $(DOC_DIR)/%.1
|
$(DOC_DIR)/%_man_page.txt : $(DOC_DIR)/%.1
|
||||||
@ -243,6 +242,10 @@ $(RSYSLOG_LOG) :
|
|||||||
touch /var/log/rascsi.log
|
touch /var/log/rascsi.log
|
||||||
chown root:adm /var/log/rascsi.log
|
chown root:adm /var/log/rascsi.log
|
||||||
|
|
||||||
|
$(MAN_PAGE_DIR)/:
|
||||||
|
echo "-- Creating directory $@"
|
||||||
|
mkdir -p $@
|
||||||
|
|
||||||
## help : Lists information about how to use the makefile
|
## help : Lists information about how to use the makefile
|
||||||
# The help rule is based upon the approach from:
|
# The help rule is based upon the approach from:
|
||||||
# https://swcarpentry.github.io/make-novice/08-self-doc/index.html
|
# https://swcarpentry.github.io/make-novice/08-self-doc/index.html
|
||||||
|
Loading…
Reference in New Issue
Block a user