X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=1c9e81f400fe074d0e09adc002af9b13a23cd803;hb=d0ab4a8eabcf9d8b2fb96e2b77ee1266b707f99f;hp=c2d237b1cd78cc0672bd0c71e809c8a86436b259;hpb=c36f66a53829c3908c22bb64acc24bcbeb8d454b;p=build.git diff --git a/Makefile b/Makefile index c2d237b1..1c9e81f4 100644 --- a/Makefile +++ b/Makefile @@ -439,8 +439,8 @@ endif ### this utility allows to extract various info from a spec file ### and to define them in makefiles # use the C code where it works as it's the original one, use the python code otherwise -spec2make: spec2make.py - ln -s spec2make.py $@ +spec2make: spec2make.c + $(CC) -g -Wall $< -o $@ -lrpm -lrpmbuild -lrpmio -lpopt || ln -s spec2make.py $@ ### run spec2make on the spec file and include the result # usage: spec2make package