diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-06-20 10:24:08 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-06-20 10:24:08 +0000 |
commit | f1cc88a5d65edb26eb63a032f6835008927a02c0 (patch) | |
tree | 3648e7ee10d66202a251aa866a90e0bc748ba61f /Makefile | |
parent | d2845d68c8f7c6bce632bac8e2cee56c73b7db89 (diff) | |
download | ffmpeg-f1cc88a5d65edb26eb63a032f6835008927a02c0.tar.gz |
Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr
Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -67,7 +67,7 @@ SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) FFLIBDIRS = -L./libavformat -L./libavcodec -L./libavutil FFLIBS = -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) -all: lib $(PROGS_G) $(PROGS) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC) +all: version.h lib $(PROGS_G) $(PROGS) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC) lib: $(MAKE) -C libavutil all @@ -90,6 +90,10 @@ ffplay_g$(EXESUF): ffplay.o cmdutils.o .libs cp -p $< $@ $(STRIP) $@ +.PHONY: version.h +version.h: + $(SRC_PATH)/version.sh + output_example$(EXESUF): output_example.o .libs $(CC) $(FFLIBDIRS) $(LDFLAGS) -o $@ output_example.o $(FFLIBS) $(EXTRALIBS) @@ -220,7 +224,7 @@ distclean: clean $(MAKE) -C libpostproc distclean $(MAKE) -C tests distclean $(MAKE) -C vhook distclean - rm -f .depend config.mak config.h *.pc + rm -f .depend config.mak config.h version.h *.pc TAGS: etags *.[ch] libavformat/*.[ch] libavcodec/*.[ch] |