[PATCH] Makefile.common: remove CVS_EXTRAS_RC
Till Maas
opensource at till.name
Wed Jul 11 16:40:50 UTC 2007
Hiyas,
Makefile.common uses CVS_EXTRAS_RC to define the variable of the user config
file and uses a complex structure to only include it, when it is a file.
According to "info make", there is a much easier way:
| If you want `make' to simply ignore a makefile which does not exist
| and cannot be remade, with no error message, use the `-include'
| directive instead of `include', like this:
-include $(HOME)/.cvspkgsrc
Imho, this makes the Makefile much more easier to read and also removes a
reference to Extras with the variable CVS_EXTRAS_RC.
Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.common-remove-CVS_EXTRAS_RC.patch
Type: text/x-makefile
Size: 643 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20070711/bcc7c38c/attachment.bin>
More information about the Fedora-buildsys-list
mailing list