X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f31d34ee967cb1637c0efeb408c76a2c26bbdc07..766761fd836d9e247daea924809965c21cc65dc7:/doc/en/makefile diff --git a/doc/en/makefile b/doc/en/makefile index 247ce38b5..8659de6f6 100644 --- a/doc/en/makefile +++ b/doc/en/makefile @@ -16,26 +16,22 @@ LOCAL := manpage-$(firstword $(SOURCE)) $(LOCAL)-LIST := $(SOURCE) apt-vendor.ent: ../../vendor/current/apt-vendor.ent - ln -sf $(shell readlink -f $^) $@ + ln -sf '$(abspath $^)' $@ # Install generation hooks -manpages: $($(LOCAL)-LIST) apt.8 +manpages: $($(LOCAL)-LIST) $($(LOCAL)-LIST) :: % : ../%.xml $(STYLESHEET) $(INCLUDES) echo Creating man page $@ $(XSLTPROC) -o $@ $(STYLESHEET) $< -apt.8: ../apt.8 - cp -a ../apt.8 apt.8 - # Clean rule .PHONY: clean/$(LOCAL) veryclean: clean/$(LOCAL) clean: clean/$(LOCAL) clean/$(LOCAL): - -rm -rf $($(@F)-LIST) apt.8 apt-vendor.ent + -rm -rf $($(@F)-LIST) apt-vendor.ent endif # Chain to the manpage rule -SOURCE = apt.8 include $(MANPAGE_H)