[Ffmpeg-cvslog] r7042 - trunk/Makefile
diego
subversion
Tue Nov 14 03:53:59 CET 2006
Author: diego
Date: Tue Nov 14 03:53:59 2006
New Revision: 7042
Modified:
trunk/Makefile
Log:
Make man page installation dependent on documentation generation.
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Nov 14 03:53:59 2006
@@ -52,6 +52,7 @@
ifeq ($(BUILD_DOC),yes)
DOC=documentation
+INSTALLMAN=install-man
endif
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
@@ -116,7 +117,7 @@
documentation:
$(MAKE) -C doc all
-install: install-progs install-libs install-headers install-man $(INSTALLVHOOK)
+install: install-progs install-libs install-headers $(INSTALLMAN) $(INSTALLVHOOK)
ifeq ($(BUILD_SHARED),yes)
install-progs: $(PROGS) install-libs
@@ -130,12 +131,9 @@
wininstaller: all install
makensis ffinstall.nsi
-# install man from source dir if available
install-man:
- if [ -f doc/ffmpeg.1 ] ; then \
- install -d "$(mandir)/man1" ; \
- install -m 644 $(MANPAGES) "$(mandir)/man1" ; \
- fi
+ install -d "$(mandir)/man1"
+ install -m 644 $(MANPAGES) "$(mandir)/man1"
install-vhook:
$(MAKE) -C vhook install
More information about the ffmpeg-cvslog
mailing list