aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-11-06 17:49:55 +0100
committerDiego Biurrun <diego@biurrun.de>2017-11-09 15:21:33 +0100
commit7ebe7e8e7a76c0ce302f4f583ef0d14220031214 (patch)
tree70f3b6447336f3b97cec05427d30a6d8f4a57b1f
parentfbf77b5ac37bf2a807d8336450801d7aecf2e359 (diff)
downloadffmpeg-7ebe7e8e7a76c0ce302f4f583ef0d14220031214.tar.gz
build: Remove pkg-config files on clean instead of on distclean
The files are no longer generated by configure, so they should not be removed by the distclean target any longer.
-rw-r--r--Makefile1
-rw-r--r--avbuild/common.mak3
-rw-r--r--avbuild/library.mak4
3 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 1c10f15462..5f91294c8e 100644
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,6 @@ clean::
$(RM) -rf coverage.info lcov
distclean::
- $(RM) $(DISTCLEANSUFFIXES)
$(RM) .version avversion.h config.asm config.h mapfile \
avbuild/.config avbuild/config.* libavutil/avconfig.h \
libavcodec/bsf_list.c libavformat/protocol_list.c
diff --git a/avbuild/common.mak b/avbuild/common.mak
index a627dc0ccf..17989533f9 100644
--- a/avbuild/common.mak
+++ b/avbuild/common.mak
@@ -49,8 +49,7 @@ $(TOOLOBJS): | tools
OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(TESTOBJS))
-CLEANSUFFIXES = *.d *.o *~ *.h.c *.gcda *.gcno *.map *.ver *.version
-DISTCLEANSUFFIXES = *.pc
+CLEANSUFFIXES = *.d *.gcda *.gcno *.h.c *.map *.o *.pc *.ver *.version *~
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a
define RULES
diff --git a/avbuild/library.mak b/avbuild/library.mak
index a4b57e8824..98a100dc7e 100644
--- a/avbuild/library.mak
+++ b/avbuild/library.mak
@@ -57,10 +57,6 @@ clean::
$(RM) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \
$(CLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) $(CLEANSUFFIXES:%=$(SUBDIR)tests/%)
-distclean:: clean
- $(RM) $(DISTCLEANSUFFIXES:%=$(SUBDIR)%) $(DISTCLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) \
- $(DISTCLEANSUFFIXES:%=$(SUBDIR)tests/%)
-
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
$(Q)mkdir -p "$(SHLIBDIR)"
$$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)"