diff --git a/Makefile.am b/Makefile.am index e3653964c..505d40a93 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1423,7 +1423,7 @@ doc: $(DOXYGEN_INDICES) .SECONDEXPANSION: define protostability -$(shell echo $1 | sed 's/.*\(\\|\\).*/\1/') +$(if $(findstring unstable,$1),unstable,stable) endef define protoname