Skip to content

Commit

Permalink
make -C depends qt -- WORKS
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Sep 17, 2024
1 parent c7d3d2d commit 43d751f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions depends/packages/qt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,10 @@ define $(package)_build_cmds
cmake --build . --parallel
endef

# TODO: Investigate whether specific targets can be used here to minimize the amount of files/components installed.
define $(package)_stage_cmds
$(MAKE) -C qtbase INSTALL_ROOT=$($(package)_staging_dir) install && \
$(MAKE) -C qttools INSTALL_ROOT=$($(package)_staging_dir) install && \
$(MAKE) -C qttranslations INSTALL_ROOT=$($(package)_staging_dir) install_subtargets
cmake --install . --prefix $($(package)_staging_prefix_dir)
endef

define $(package)_postprocess_cmds
rm -rf doc/ native/lib/ && \
rm -f lib/lib*.la
rm -rf doc/
endef

0 comments on commit 43d751f

Please sign in to comment.