This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: Can nobase_pkgdata_DATA take directories? Does not seam so.]


Mmm... Posted this message two days ago but have yet to receive any answer. I believe my question is pretty basic, so anybody care to give me an answer? Surely someone with years of experience can answer this newbie's question?


Thanks in advance, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://autopoweroff.sourceforge.net mailto://hans@deragon.biz (Automatically poweroff home servers)


-------- Original Message -------- Greetings.

nobase_pkgdata_DATA = \
  engine \
  smarty/lib \
  smarty/plugins \
  smarty/themes/examples

Above, all of the entries in nobase_pkgdata_DATA are directories.  However, when
I am performing "make install", I get the error (Same error for the other
directories):

cp: omitting directory `./smarty/themes/examples'

This is because install.sh calls the cp command without the -r parameter.

Is it possible to define directories in nobase_pkgdata_DATA?  I want to avoid to
list the files because they change allot during development and can become numerous.

In the Automake documentation, all the examples use files, but nowhere have I
found some warning that directories do not work.


Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://autopoweroff.sourceforge.net mailto://hans@deragon.biz (Automatically poweroff home servers)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]