mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
build: move all (un)install* target aliases to toplevel Makefile
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
0e28e9ca8f
commit
d7a72d250b
6
Makefile
6
Makefile
@ -128,7 +128,9 @@ doc/%.1: TAG = MAN
|
|||||||
doc/%.1: doc/%.pod
|
doc/%.1: doc/%.pod
|
||||||
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
|
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
|
||||||
|
|
||||||
install: $(INSTALL_TARGETS-yes)
|
install: install-libs install-headers $(INSTALL_TARGETS-yes)
|
||||||
|
|
||||||
|
install-libs: install-libs-yes
|
||||||
|
|
||||||
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
|
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
|
||||||
$(Q)mkdir -p "$(BINDIR)"
|
$(Q)mkdir -p "$(BINDIR)"
|
||||||
@ -142,7 +144,7 @@ install-man: $(MANPAGES)
|
|||||||
$(Q)mkdir -p "$(MANDIR)/man1"
|
$(Q)mkdir -p "$(MANDIR)/man1"
|
||||||
$(INSTALL) -m 644 $(MANPAGES) "$(MANDIR)/man1"
|
$(INSTALL) -m 644 $(MANPAGES) "$(MANDIR)/man1"
|
||||||
|
|
||||||
uninstall: uninstall-progs uninstall-data uninstall-man
|
uninstall: uninstall-libs uninstall-headers uninstall-progs uninstall-data uninstall-man
|
||||||
|
|
||||||
uninstall-progs:
|
uninstall-progs:
|
||||||
$(RM) $(addprefix "$(BINDIR)/", $(ALLPROGS))
|
$(RM) $(addprefix "$(BINDIR)/", $(ALLPROGS))
|
||||||
|
@ -54,11 +54,6 @@ HOSTCFLAGS += $(IFLAGS)
|
|||||||
%.h:
|
%.h:
|
||||||
@:
|
@:
|
||||||
|
|
||||||
install: install-libs install-headers
|
|
||||||
install-libs: install-libs-yes
|
|
||||||
|
|
||||||
uninstall: uninstall-libs uninstall-headers
|
|
||||||
|
|
||||||
.PHONY: all depend dep *clean install* uninstall* examples testprogs
|
.PHONY: all depend dep *clean install* uninstall* examples testprogs
|
||||||
|
|
||||||
# Disable suffix rules. Most of the builtin rules are suffix rules,
|
# Disable suffix rules. Most of the builtin rules are suffix rules,
|
||||||
|
Loading…
Reference in New Issue
Block a user