[haiku-bugs] Re: [Haiku] #13637: Unify APP_VERSION attributes

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 31 Jul 2017 12:49:31 -0000

#13637: Unify APP_VERSION attributes
-------------------------+----------------------------
   Reporter:  diver      |      Owner:  humdinger
       Type:  task       |     Status:  new
   Priority:  normal     |  Milestone:  Unscheduled
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+----------------------------

Comment (by pulkomandy):

 If the string is something like "2017 Haiku, inc.", you can append it to
 the starting date:

 long_info = "(c) 2008-" HAIKU_COPYRIGHT_NOTICE

 Alternatively, HAIKU_COPYRIGHT_NOTICE(START_DATE) can generate the string
 with the right start date in the middle:

 {{{
 #define HAIKU_COPYRIGHT_NOTICE(START_DATE) "(C) " START_DATE "-2017 Haiku,
 inc."
 }}}

 (but then it shows 2017-2017 for files created this year).

--
Ticket URL: <https://dev.haiku-os.org/ticket/13637#comment:7>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: