chiark
/
gitweb
/
~mdw
/
distorted-chroot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b636d08
)
Makefile: Create `$(LOCAL)/share/man/'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Sep 2019 01:47:26 +0000
(
02:47
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Sep 2019 01:50:14 +0000
(
02:50
+0100)
So the symlinks in `$(LOCAL)/$a/man' aren't remade every time.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index a6c2179e3b79009a47f7a3d0f15869a079addb17..dbd1714533a05473a93c8f89b01f4afc26fa7295 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-519,8
+519,9
@@
$(CHECK_SCHROOT_SCRIPTS): check-script/%:
### `/usr/local/' structure.
LOCAL_COMMON_DIRS = share/ src/
-all:: $(foreach d,$(LOCAL_COMMON_DIRS),$(LOCAL)/$d)
-$(foreach d,$(LOCAL_COMMON_DIRS),$(LOCAL)/$d):
+LOCAL_EXTRA_DIRS = share/man/
+all:: $(foreach d,$(LOCAL_COMMON_DIRS) $(LOCAL_EXTRA_DIRS),$(LOCAL)/$d)
+$(foreach d,$(LOCAL_COMMON_DIRS) $(LOCAL_EXTRA_DIRS),$(LOCAL)/$d):
$(V_AT)mkdir -p $(dir $(patsubst %/,%,$@))
$(call v_tag,MKDIR)mkdir $@