Skip to content

Commit

Permalink
Simplify BYPRODUCTS in "make tree"
Browse files Browse the repository at this point in the history
The inner structure of mktree.output/ should be treated as an
implementation detail of the mktree backend in use.  All we care for
here is that it's purged on a "make clean".

No functional change since only mktree.fedora uses this directory
currently and it already recreates the other contents (inst/) on each
rebuild anyway.
  • Loading branch information
dmnks authored and pmatilai committed Aug 16, 2023
1 parent e1ff74c commit ebd0905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ add_custom_command(OUTPUT rpmtests

add_custom_target(tree
COMMAND ./mktree build
BYPRODUCTS mktree.output/base
BYPRODUCTS mktree.output
DEPENDS rpmtests
DEPENDS ${TESTPROGS}
DEPENDS ${TOP_TARGETS}
Expand Down

0 comments on commit ebd0905

Please sign in to comment.