[FFmpeg-cvslog] r18143 - trunk/subdir.mak

diego subversion
Sun Mar 22 14:00:16 CET 2009


Author: diego
Date: Sun Mar 22 14:00:15 2009
New Revision: 18143

Log:
Use $< automatic variable to simplify some commands.

Modified:
   trunk/subdir.mak

Modified: trunk/subdir.mak
==============================================================================
--- trunk/subdir.mak	Sun Mar 22 13:47:16 2009	(r18142)
+++ trunk/subdir.mak	Sun Mar 22 14:00:15 2009	(r18143)
@@ -39,7 +39,7 @@ endif
 
 install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
 	install -d "$(SHLIBDIR)"
-	install -m 755 $(SUBDIR)$(SLIBNAME) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
+	install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
 	$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
 	cd "$(SHLIBDIR)" && \
 		$(LN_S) $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
@@ -49,7 +49,7 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SL
 
 install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
 	install -d "$(LIBDIR)"
-	install -m 644 $(SUBDIR)$(LIBNAME) "$(LIBDIR)"
+	install -m 644 $$< "$(LIBDIR)"
 	$(LIB_INSTALL_EXTRA_CMD)
 
 install-headers::



More information about the ffmpeg-cvslog mailing list