Skip to content

Commit

Permalink
Properly reprocess libtooltipmenu when it changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicFrog committed Jul 15, 2023
1 parent a77da6c commit dd3602b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules.make
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ LIBTTM_ZS+=${ZSDIR}/libtooltipmenu/TooltipOptionMenu.zsc
LIBTTM_ZS+=${ZSDIR}/libtooltipmenu/Tooltips.zsc
ZSCRIPT+=${LIBTTM_ZS}
ZSCRIPT_TO_CLEAN+=${LIBTTM_ZS}
${ZSDIR}/libtooltipmenu/%:
sed -E 's,TF_,${LIBTTM_PREFIX}_,g; s,ItemTooltip,Item${LIBTTM_PREFIX}_Tooltip,g' ${LIBTTM}/$* > $@
${ZSDIR}/libtooltipmenu/%.zsc: ${LIBTTM}/%.zsc
sed -E 's,TF_,${LIBTTM_PREFIX}_,g; s,ItemTooltip,Item${LIBTTM_PREFIX}_Tooltip,g' $< > $@

endif # libttm
endif # zsdir
Expand Down

0 comments on commit dd3602b

Please sign in to comment.