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

a0314c1516 depends: cleanup after qrencode build (fanquake)
745bf0fa7e depends: cleanup after miniupnpc build (fanquake)
06d4aab77a 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 a0314c1516

Tree-SHA512: debeffa7027e6213cc25c0652660ff0f36f51e63f688041d1d6cd6323e2c6cb02936fa0ecea86455b8c9874d6ea665684085189cfa523ca084792c57b0fb7c4e
This commit is contained in:
merge-script 2024-07-25 13:59:19 +01:00
commit 119a0faf2c
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
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

@ -39,7 +39,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

@ -29,3 +29,8 @@ endef
define $(package)_stage_cmds define $(package)_stage_cmds
cmake --install . --prefix $($(package)_staging_prefix_dir) cmake --install . --prefix $($(package)_staging_prefix_dir)
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

@ -42,5 +42,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