automake: create an empty directory
From: sam (sam028028_at_yahoo.fr)
Date: 05/27/04
- Next message: Umpa: "statfs"
- Previous message: Jimmer: "catching exception"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 May 2004 07:46:52 -0700
Hi all.
I'll like to create, with automake, a Makefile able to create an empty
directory in my project tree (after bin, doc,...).
I'm ablte to do it if the directory content a file (see my Makefile.am
in example below, but only in this case (and this is not what I want
...).
Any idea ?
thx.
Sam.
SUBDIRS = src
myprojectdocdir = ${prefix}/doc
myprojectbindir = ${prefix}/myproject
myprojectdoc_DATA = \
README\
COPYING\
AUTHORS\
ChangeLog\
INSTALL\
NEWS\
TODO
EXTRA_DIST = $(myprojectdoc_DATA)
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
- Next message: Umpa: "statfs"
- Previous message: Jimmer: "catching exception"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]