mirror of https://github.com/mpv-player/mpv
cosmetics: Move ADD_ALL_* functions to a more sensible place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29201 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e28b5cc631
commit
8f0639d4cc
6
Makefile
6
Makefile
|
@ -784,6 +784,9 @@ DIRS = . \
|
|||
|
||||
ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h))
|
||||
|
||||
ADD_ALL_DIRS = $(foreach dir,$(DIRS),$(foreach suffix,$(1),$(addsuffix $(suffix),$(dir))))
|
||||
ADD_ALL_EXESUFS = $(foreach file,$(1),$(foreach exesuf,$(EXESUFS_ALL),$(file) $(file)$(exesuf)))
|
||||
|
||||
FFMPEGPARTS = libavcodec \
|
||||
libavformat \
|
||||
libavutil \
|
||||
|
@ -953,9 +956,6 @@ uninstall:
|
|||
rm -f $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1
|
||||
rm -f $(foreach lang,$(MAN_LANGS),$(foreach man,mplayer.1 mencoder.1,$(MANDIR)/$(lang)/man1/$(man)))
|
||||
|
||||
ADD_ALL_DIRS = $(foreach dir,$(DIRS),$(foreach suffix,$(1),$(addsuffix $(suffix),$(dir))))
|
||||
ADD_ALL_EXESUFS = $(foreach file,$(1),$(foreach exesuf,$(EXESUFS_ALL),$(file) $(file)$(exesuf)))
|
||||
|
||||
clean:
|
||||
-rm -f $(call ADD_ALL_DIRS,/*.o /*.a /*.ho /*~)
|
||||
-rm -f $(call ADD_ALL_EXESUFS,mplayer mencoder)
|
||||
|
|
Loading…
Reference in New Issue