|
From: | Arthur Schwarz |
Subject: | What cures a failure to make distdir? |
Date: | Mon, 18 May 2015 07:39:12 -0700 |
I've just tried to create and test my test case and received the message below. The script which is used to create the distribution is included along with the configure.ac, Makefile.am, and src/Makkefile.am files. The setup is for testing and not too large (130 lines - see below). What awful thing have I done to not be able to build distdir? Shouldn't this be part of the magic glue that holds the autotools together, which the autotools create all by themselves? The directory structure is: ./ here I am (buildscript.sh, configure.ac, Makefile.am) src/ here are other things (Makefile.am) Lines 10 buildscript.sh 35 configure.ac 25 Makefile.am 60 src/Makefile.am 130 total ========================== buildscript output ========================== if test -d "test-0.5"; then find "test-0.5" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "test-0.5" || { sleep 5 && rm -rf "test-0.5"; }; else :; fi test -d "test-0.5" || mkdir "test-0.5" (cd src && make top_distdir=../test-0.5 distdir=../test-0.5/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[1]: Entering directory '/cygdrive/e/home/skidmarks/Projects/Test/automake/dist/src' make[1]: *** No rule to make target 'distdir'. Stop. make[1]: Leaving directory '/cygdrive/e/home/skidmarks/Projects/Test/automake/dist/src' Makefile:515: recipe for target 'distdir' failed make: *** [distdir] Error 1 tar: test-0.5.tar.xz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now ===================== Chaos comes from maintenance =====================
buildscript.sh
Description: Binary data
Makefile.am
Description: Binary data
configure.ac
Description: Binary data
Makefile.am
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |