mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Avoid modification of .in files outside man directory.
(i.e. this rule actually tried to change ../make.tmpl in some cases and left this file completely broken)
This commit is contained in:
parent
ea64fe3b51
commit
f829547a13
@ -66,7 +66,10 @@ man: $(MAN5) $(MAN8) $(MAN8CLUSTER)
|
||||
$(MAN5) $(MAN8) $(MAN8CLUSTER): Makefile
|
||||
|
||||
%: %.in
|
||||
$(SED) -e "s/#VERSION#/$(LVM_VERSION)/" $< > $@
|
||||
@case "$@" in \
|
||||
*/*) ;; \
|
||||
*) echo "Creating $@" ; $(SED) -e "s/#VERSION#/$(LVM_VERSION)/" $< > $@ ;; \
|
||||
esac
|
||||
|
||||
install_lvm2:
|
||||
@echo "Installing $(MAN8) in $(MAN8DIR)"
|
||||
|
Loading…
Reference in New Issue
Block a user