mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Generate the list of all programs, unstripped programs and man pages in a more
elegant fashion and unconditionally remove all programs on clean. Originally committed as revision 5400 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7d2f45464b
commit
6b991cb29f
9
Makefile
9
Makefile
@ -32,6 +32,11 @@ PROGS+=ffplay$(EXESUF)
|
|||||||
FFPLAY_O=ffplay.o
|
FFPLAY_O=ffplay.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
BASENAMES=ffmpeg ffplay ffserver
|
||||||
|
ALLPROGS=$(addsuffix $(EXESUF), $(BASENAMES))
|
||||||
|
ALLPROGS_G=$(addsuffix _g$(EXESUF), $(BASENAMES))
|
||||||
|
ALLMANPAGES=$(addsuffix .1, $(BASENAMES))
|
||||||
|
|
||||||
ifeq ($(CONFIG_AUDIO_BEOS),yes)
|
ifeq ($(CONFIG_AUDIO_BEOS),yes)
|
||||||
EXTRALIBS+=-lmedia -lbe
|
EXTRALIBS+=-lmedia -lbe
|
||||||
endif
|
endif
|
||||||
@ -158,11 +163,9 @@ endif
|
|||||||
|
|
||||||
uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook
|
uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook
|
||||||
|
|
||||||
ALLPROGS=ffmpeg ffplay ffserver
|
|
||||||
uninstall-progs:
|
uninstall-progs:
|
||||||
rm -f $(addprefix $(bindir)/, $(ALLPROGS))
|
rm -f $(addprefix $(bindir)/, $(ALLPROGS))
|
||||||
|
|
||||||
ALLMANPAGES=$(addsuffix .1, $(ALLPROGS))
|
|
||||||
uninstall-man:
|
uninstall-man:
|
||||||
ifneq ($(CONFIG_WIN32),yes)
|
ifneq ($(CONFIG_WIN32),yes)
|
||||||
rm -f $(addprefix $(mandir)/man1/,$(ALLMANPAGES))
|
rm -f $(addprefix $(mandir)/man1/,$(ALLMANPAGES))
|
||||||
@ -209,7 +212,7 @@ clean:
|
|||||||
$(MAKE) -C tests clean
|
$(MAKE) -C tests clean
|
||||||
$(MAKE) -C vhook clean
|
$(MAKE) -C vhook clean
|
||||||
rm -f *.o *.d *~ .libs gmon.out TAGS \
|
rm -f *.o *.d *~ .libs gmon.out TAGS \
|
||||||
$(PROGS) $(PROGS_G) $(PROGTEST) $(QTFASTSTART)
|
$(ALLPROGS) $(ALLPROGS_G) $(PROGTEST) $(QTFASTSTART)
|
||||||
|
|
||||||
# Note well: config.log is NOT removed.
|
# Note well: config.log is NOT removed.
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
Loading…
Reference in New Issue
Block a user