mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
Makefile: move commands from distclean to clean and add missing files
There is no reason why generated source files shouldn't be part of the clean target, as opposed to distclean. On the contrary, having them in distclean only looks dangerous when trying to deal with broken dependency rules. Move them to clean, except config.h (which would require configure to be run again). Also, some recently added generated files were missing from the clean targets.
This commit is contained in:
parent
4b8fa8a597
commit
a87084c841
11
Makefile
11
Makefile
@ -639,12 +639,17 @@ clean:
|
|||||||
-$(RM) $(call ADD_ALL_DIRS,/*.o /*.d /*.a /*.ho /*~)
|
-$(RM) $(call ADD_ALL_DIRS,/*.o /*.d /*.a /*.ho /*~)
|
||||||
-$(RM) $(call ADD_ALL_EXESUFS,mplayer)
|
-$(RM) $(call ADD_ALL_EXESUFS,mplayer)
|
||||||
-$(RM) $(MOFILES)
|
-$(RM) $(MOFILES)
|
||||||
|
-$(RM) version.h
|
||||||
|
-$(RM) codecs.conf.h
|
||||||
|
-$(RM) input/input_conf.h
|
||||||
|
-$(RM) libvo/vdpau_template.c
|
||||||
|
-$(RM) libmpdemux/ebml_types.h libmpdemux/ebml_defs.c
|
||||||
|
-$(RM) libvo/vo_gl3_shaders.h
|
||||||
|
-$(RM) sub/osd_font.h
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
-$(RM) -r locale
|
-$(RM) -r locale
|
||||||
-$(RM) config.log config.mak config.h codecs.conf.h version.h TAGS tags
|
-$(RM) config.log config.mak config.h TAGS tags
|
||||||
-$(RM) libvo/vdpau_template.c
|
|
||||||
-$(RM) libmpdemux/ebml_types.h libmpdemux/ebml_defs.c
|
|
||||||
|
|
||||||
TAGS:
|
TAGS:
|
||||||
$(RM) $@; find . -name '*.[chS]' -o -name '*.asm' | xargs etags -a
|
$(RM) $@; find . -name '*.[chS]' -o -name '*.asm' | xargs etags -a
|
||||||
|
Loading…
Reference in New Issue
Block a user