-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a simple makefile.am in my ftk/docs directory. All it's trying to do is build and tar up doxygen docs:
ftk/docs/Makefile.am: - ------------------- docpkg = $(PACKAGE)-doxy-$(VERSION) pkgdata_DATA = $(docpkg).tar.gz $(docpkg).tar.gz: doxygen.stamp tar chof - html | gzip -9 -c >$@ doxygen.stamp: doxyfile $(DOXYGEN) $< echo Timestamp > $@ CLEANFILES = doxywarn.txt doxygen.stamp $(docpkg).tar.gz clean-local: -rm -rf html - ------------------- When I hook this Makefile.am into the build system (via AC_CONFIG_FILES), I get the following from "make distcheck": Output: - ------------------- $ cd build; ../configure && make distcheck ... Making uninstall in docs make[2]: Entering directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build/docs' rm -f '/tmp/am-dc-2299//home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_inst/share/ftk/ftk-doxy-1.1.tar.gz' make[2]: Leaving directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build/docs' make[2]: Entering directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make[2]: Nothing to be done for `uninstall-am'. make[2]: Leaving directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make[1]: Leaving directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make[1]: Entering directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make[1]: Leaving directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make[1]: Entering directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' { test ! -d ftk-1.1 || { find ftk-1.1 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr ftk-1.1; }; } test -d ftk-1.1 || mkdir ftk-1.1 cp: cannot create regular file `ftk-1.1/docs/doxywarn.txt': Permission denied cp: cannot create regular file `ftk-1.1/docs/doxyfile': Permission denied cp: cannot create regular file `ftk-1.1/docs/Makefile': Permission denied cp: cannot create directory `ftk-1.1/docs/html': Permission denied cp: cannot create regular file `ftk-1.1/docs/doxygen.stamp': Permission denied cp: cannot create regular file `ftk-1.1/docs/ftk-doxy-1.1.tar.gz': Permission denied make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jcalcote/dev/prj/flaim/ftk/build/ftk-1.1/_build' make: *** [distcheck] Error 2 - ------------------- Do I misunderstand the use of the DATA primary? Perhaps DATA files are not allowed to be built? I can't find anything in the Automake docs about required properties of DATA files, and I don't get enough output from make to determine where this problem is occurring in the Makefile. One clue - I tried running this command using a -d on the make command line. Of course, I got tons more output, but one interesting clue was that make told me just before the failed copy commands above that "destdir" needed to be rebuilt...strange. Thanks in advance, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIWTUDdcgqmRY/OH8RAvWqAKCICjUY0BsL6TSrB5ErkSgXFuRntQCfbqBU srMf4jzZXA2r6SHLnjqqOXg= =cya2 -----END PGP SIGNATURE-----