From: Andrew Cooper Date: Mon, 20 Apr 2015 10:49:21 +0000 (+0100) Subject: docs/build: Do not open-code $* X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3384 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8fbe22fab8f5529bb6494048e304fd6595f57fa7;p=xen.git docs/build: Do not open-code $* Sometimes there is already a round enough wheel to hand. No functional change. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell --- diff --git a/docs/Makefile b/docs/Makefile index f4c8412fee..6f795846aa 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -73,13 +73,11 @@ endif man1/%.1: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) - $(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed 's/^man1.//'| \ - sed 's/.1//'` -s 1 -c "Xen" $< $@ + $(POD2MAN) --release=$(VERSION) --name=$* -s 1 -c "Xen" $< $@ man5/%.5: man/%.pod.5 Makefile $(INSTALL_DIR) $(@D) - $(POD2MAN) --release=$(VERSION) --name=`echo $@ | sed 's/^man5.//'| \ - sed 's/.5//'` -s 5 -c "Xen" $< $@ + $(POD2MAN) --release=$(VERSION) --name=$* -s 5 -c "Xen" $< $@ .PHONY: clean clean: