automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failed to create dist targets


From: Ralf Wildenhues
Subject: Re: failed to create dist targets
Date: Fri, 5 Jun 2009 06:05:18 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* aaragon wrote on Thu, Jun 04, 2009 at 10:11:22PM CEST:
> 
> So I got all my code up and running and now I want to make a file so I can
> use my library in another computer. Now, when I try to make dist-zip, I get:
> 
> address@hidden/Documents/workspace/cpputils$make dist-all
> { test ! -d "-cpputils--0.001" || { find "-cpputils--0.001" -type d ! -perm
> -200 -exec chmod u+w {} ';' && rm -fr "-cpputils--0.001"; }; }
> test -d "-cpputils--0.001" || mkdir "-cpputils--0.001"
> mkdir: illegal option -- c
> usage: mkdir [-pv] [-m mode] directory ...
> make: *** [distdir] Error 64
> 
> It's trying to make a directory that starts with a hyphen. Is this a bug?
> Can I get around this and indicate that I don't want the filename of the
> directory to start with a hyphen?

You can name the package cpputils rather than -cpputils- (change the
first argument of AC_INIT in configure.ac) or override the tarname only
(add a fourth argument to AC_INIT).
See "info Autoconf 'Initializing configure'".

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]