makefile - A make file for exporting all inkscape svg to pdf -


I am trying to write a make file which will make PDF from each inkscape SVG in a directory. By creating manuals and various tutorials, it seems that a pattern goes the way of the rule, so I have

 % Pdf:% .svg inkscape -A $ *. Pdf $ *. Svg   

I know that when I invoke, I get it when I manually do it while inkscape command works

  $ Make make: *** No targets stop   

Since PDF files are not yet present, I can not win creating * .pdf and * .svg any target Along with that, I can not find a way to put a all target, which depends on the pattern.

One last problem; This is part of a big project, and I want to make it recursive in this directory, but if create does not work alone, then what goal should I recycle and how do I do it?

  SVGFILES: $$ (wildcard *) If you want to find all the SVG files and want to change them, you can use the wildcard function:  
  .svg) All: $ (SVGILEE:%. SVG =%. PDF)% .pdf:% .svg inkscape -A $ *. Pdf $ *. Svg   

I do not understand your second question quite a lot. You do not use the normal $ (MAKE) (always use it, never create ) in the parent makefile to create these files once you have can do.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -