makepp - Can a makefile have a directory as a target? -


I'm trying to say "download of GIT repository will work only when directory / yank exists. So by making it "

  Yank / GIST / GIST: Yank CD yank; Git clone http://github.com/defunkt/gist.el.git yank: mkdir yank  

I am using makepp - and I'm getting the error:

  [Metapl @ and Linux ~ / ADAN / PKG / Gist.L] MAPP: Loading Macfile / HOMES / METAPRELE / AEDEN / PKG / GIGIST.L / MACPFILE 'map: Entering directory / home / MetLife / Aden / Pkg / gist.el 'mkdir yank mkdir: directory can not create' yank ': file exists map: error: target `/home/metaperl/edan/pkg/gist.el/yank' [1] Makeup: 0 in creating files Fails updated, 0 duplicate targets were created and 1 goal failed [Metapl @ and linux ~ / edan / pkg / gist.el]  

but why would this attempt to create a yank directory? "Source" has already been created ben ...

Yes, a Makefile < / Code> can be a directory in the form of targets.

Your problem may be that cd does not do what you want: it does cd and git clone Is done in the root directory (you from cd , not you cd ed service to me). This is because an extra shell is created for each command in Makefile . Run a workaround to cd and go to Shell's & amp; Amp; to clone as an order.

It should work:

  bla / f: DIR CD DIR & amp; Touch F DIR: MKDIR DIR  

Comments