diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-08-24 16:02:39 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-08-24 16:02:39 +0000 |
commit | 23a65308e37e9193192cd004a69f787a5f7e2337 (patch) | |
tree | df2719f1107d8bc4770f754c65d7bc521f1d7756 /Makefile | |
parent | f5fe9d5f8ce09a01f6738f234935b270364b229e (diff) | |
download | ffmpeg-streaming-23a65308e37e9193192cd004a69f787a5f7e2337.zip ffmpeg-streaming-23a65308e37e9193192cd004a69f787a5f7e2337.tar.gz |
man page installation support
Originally committed as revision 2145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -111,12 +111,20 @@ ffplay.o: ffplay.c videohook: .libs $(MAKE) -C vhook all -install: all $(INSTALLVHOOK) +install: all install-man $(INSTALLVHOOK) $(MAKE) -C libavcodec install $(MAKE) -C libavformat install install -d $(prefix)/bin install -c -s -m 755 $(PROG) $(prefix)/bin +# install man from source dir if available +install-man: + if [ -f $(SRC_PATH)/doc/ffmpeg.1 ] ; then \ + install -d $(mandir)/man1 ; \ + install -m 644 $(SRC_PATH)/doc/ffmpeg.1 $(SRC_PATH)/doc/ffplay.1 \ + $(SRC_PATH)/doc/ffserver.1 $(mandir)/man1 ; \ + fi + install-vhook: $(prefix)/lib/vhook $(MAKE) -C vhook install INSTDIR=$(prefix)/lib/vhook |