[gstreamer-bugs] [Bug 456154] Nonportable makefile constructs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jul 12 00:46:49 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=456154

  GStreamer | gstreamer (core) | Ver: 0.10.13

Yeti changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yeti at physics.muni.cz




------- Comment #2 from Yeti  2007-07-12 07:46 UTC -------
The second issue is typically dealt with by using @GST_MAJORMINOR@ in the
templates and adding them to AC_CONFIG_FILES() in configure.ac.

If you want also a rule that rebuilds these files when the a template changes,
you can do something like

%- at GST_MAJORMINOR@.1: %.1.in
        cd $(top_builddir) \
            && ./config.status --file=tools/$*- at GST_MAJORMINOR@.1:$*.1.in

which will rebuild a file using config.status and non-portable make constructs,
but these will affect only people editing the templates now, not everyone
compiling gstreamer.

Alternatively, the rule above can be easily expanded for each file manually
resulting in a completely portable Makefile.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=456154.




More information about the Gstreamer-bugs mailing list