Revision 8233b750

View differences:

Makefile
52 52

  
53 53
ifeq ($(BUILD_DOC),yes)
54 54
DOC=documentation
55
INSTALLMAN=install-man
55 56
endif
56 57

  
57 58
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
......
116 117
documentation:
117 118
	$(MAKE) -C doc all
118 119

  
119
install: install-progs install-libs install-headers install-man $(INSTALLVHOOK)
120
install: install-progs install-libs install-headers $(INSTALLMAN) $(INSTALLVHOOK)
120 121

  
121 122
ifeq ($(BUILD_SHARED),yes)
122 123
install-progs: $(PROGS) install-libs
......
130 131
wininstaller: all install
131 132
	makensis ffinstall.nsi
132 133

  
133
# install man from source dir if available
134 134
install-man:
135
	if [ -f doc/ffmpeg.1 ] ; then \
136
	    install -d "$(mandir)/man1" ; \
137
	    install -m 644 $(MANPAGES) "$(mandir)/man1" ; \
138
	fi
135
	install -d "$(mandir)/man1"
136
	install -m 644 $(MANPAGES) "$(mandir)/man1"
139 137

  
140 138
install-vhook:
141 139
	$(MAKE) -C vhook install

Also available in: Unified diff