How do I avoid a specific variable in the Makefile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've got a multiline configure.in variable like this:

  RPM_BUILDREQUIRES='BuildRequires:  package_1
  BuildRequires:  package_2'
  AC_SUBST(RPM_BUILDREQUIRES)

I'm using this in my spec.in file:

  @RPM_BUILDREQUIRES@

to produce the following spec file:

  BuildRequires:  package_1
  BuildRequires:  package_2

This unfortunately has a side effect as it creates a target in my
Makefile named "BuildRequires:" requiring the target "package_2".

Is there a way for me to get the required substitution in the spec file
without AC_SUBST()'ing so that I avoid getting the value substituted
into the Makefile as well?


Thanks,
  jules



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux