]> git.saurik.com Git - apt.git/blobdiff - doc/en/makefile
FildFd: Introduce a Flush() function and call it from Close()
[apt.git] / doc / en / makefile
index d1415fea13a09c216f98e9312fac0c523329b5b5..8659de6f6652ff0b9927ebefbdcb8eee20a509bf 100644 (file)
@@ -16,26 +16,22 @@ LOCAL := manpage-$(firstword $(SOURCE))
 $(LOCAL)-LIST := $(SOURCE)
 
 apt-vendor.ent: ../../vendor/current/apt-vendor.ent
 $(LOCAL)-LIST := $(SOURCE)
 
 apt-vendor.ent: ../../vendor/current/apt-vendor.ent
-       ln -sf $(shell readlink -f $^) $@
+       ln -sf '$(abspath $^)' $@
 
 # Install generation hooks
 
 # Install generation hooks
-manpages: $($(LOCAL)-LIST) apt.7
+manpages: $($(LOCAL)-LIST)
 
 $($(LOCAL)-LIST) :: % : ../%.xml $(STYLESHEET) $(INCLUDES)
        echo Creating man page $@
        $(XSLTPROC) -o $@ $(STYLESHEET) $<
 
 
 $($(LOCAL)-LIST) :: % : ../%.xml $(STYLESHEET) $(INCLUDES)
        echo Creating man page $@
        $(XSLTPROC) -o $@ $(STYLESHEET) $<
 
-apt.7: ../apt.7
-       cp -a ../apt.7 apt.7
-
 # Clean rule
 .PHONY: clean/$(LOCAL)
 veryclean: clean/$(LOCAL)
 clean: clean/$(LOCAL)
 clean/$(LOCAL):
 # Clean rule
 .PHONY: clean/$(LOCAL)
 veryclean: clean/$(LOCAL)
 clean: clean/$(LOCAL)
 clean/$(LOCAL):
-       -rm -rf $($(@F)-LIST) apt.7 apt-vendor.ent
+       -rm -rf $($(@F)-LIST) apt-vendor.ent
 endif
 
 # Chain to the manpage rule
 endif
 
 # Chain to the manpage rule
-SOURCE = apt.7
 include $(MANPAGE_H)
 include $(MANPAGE_H)