Merge bitcoin/bitcoin#30506: depends: Cleanup postprocess commands after switching to CMake

a0314c151679a348d842b68c5ecb7a556700811c depends: cleanup after qrencode build (fanquake)
745bf0fa7e9afc3989e9c60d7ef09e96ae172277 depends: cleanup after miniupnpc build (fanquake)
06d4aab77af4e75f0e8fd96a93e108f92210d878 depends: Cleanup postprocess commands after switching to CMake (Hennadii Stepanov)

Pull request description:

  I overlooked this while reviewing https://github.com/bitcoin/bitcoin/pull/29723, https://github.com/bitcoin/bitcoin/pull/29835, and https://github.com/bitcoin/bitcoin/pull/29880.

ACKs for top commit:
  fanquake:
    ACK a0314c151679a348d842b68c5ecb7a556700811c

Tree-SHA512: debeffa7027e6213cc25c0652660ff0f36f51e63f688041d1d6cd6323e2c6cb02936fa0ecea86455b8c9874d6ea665684085189cfa523ca084792c57b0fb7c4e
This commit is contained in:
merge-script 2024-07-25 13:59:19 +01:00 committed by pasta
parent e016ffada1
commit 57945ce337
No known key found for this signature in database
GPG Key ID: E2F3D7916E722D38
5 changed files with 11 additions and 5 deletions

View File

@ -24,6 +24,3 @@ define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install $(MAKE) DESTDIR=$($(package)_staging_dir) install
endef endef
define $(package)_postprocess_cmds
rm -rf share/man
endef

View File

@ -36,7 +36,7 @@ define $(package)_stage_cmds
endef endef
define $(package)_postprocess_cmds define $(package)_postprocess_cmds
rm bin/event_rpcgen.py && \ rm -rf bin && \
rm include/ev*.h && \ rm include/ev*.h && \
rm include/event2/*_compat.h rm include/event2/*_compat.h
endef endef

View File

@ -28,3 +28,8 @@ define $(package)_stage_cmds
install *.h $($(package)_staging_prefix_dir)/include/miniupnpc &&\ install *.h $($(package)_staging_prefix_dir)/include/miniupnpc &&\
install libminiupnpc.a $($(package)_staging_prefix_dir)/lib install libminiupnpc.a $($(package)_staging_prefix_dir)/lib
endef endef
define $(package)_postprocess_cmds
rm -rf bin && \
rm -rf share
endef

View File

@ -28,3 +28,7 @@ endef
define $(package)_stage_cmds define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install $(MAKE) DESTDIR=$($(package)_staging_dir) install
endef endef
define $(package)_postprocess_cmds
rm -rf share
endef

View File

@ -46,5 +46,5 @@ define $(package)_stage_cmds
endef endef
define $(package)_postprocess_cmds define $(package)_postprocess_cmds
rm -rf bin share lib/*.la rm -rf share
endef endef