Changeset 12054


Ignore:
Timestamp:
2008-08-01T01:55:39+02:00 (10 years ago)
Author:
nbd
Message:

add helper macro for stripping the last part of a version number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r11874 r12054  
    2828merge=$(subst $(space),,$(1)) 
    2929confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n))) 
     30strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1)) 
    3031 
    3132_SINGLE=MAKEFLAGS=$(space) 
Note: See TracChangeset for help on using the changeset viewer.