1
0
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:
Zdenek Kabelac 2010-03-29 14:22:00 +00:00
parent ea64fe3b51
commit f829547a13

View File

@ -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)"