Original Post
I'm having issues with using autotools (automake/autoconf). So what I want to do is create a directory that contains some configuration files during installation. So far I've tried multiple solutions. Using sysconf_DATA in the automake.am file only has the capability to install a single file. That's not necessarily bad but it doesn't recreate the folder structure. Every file is dropped into /usr/local/etc (by default). If you try to do it for a directory, it quits. I also tried adding the following in configure.ac: AC_PROG_INSTALL Which should set the $(INSTALL_DATA) variable and then within makefile.am install-data-local: $(INSTALL_DATA) $(srcdir)/conf/config.file $(prefix)/etc/conf/config.file That complains as well with an error. Basically saying that there is no option to process '-c' or something similar. Looking at the actual Makefile that's created, the install program (and install-sh script) uses the -c option so I'm wondering if I'm not initializing a variable somewhere or if I'm just missing something over all. I've looked around on Google quite a bit and read the Automake/Autoconf books to see if I could find something but the automake and autoconf tools all say to use sysconf_DATA but don't mention anything about the fact that sysconf_DATA doesn't appear to support creating directories and looking at Google, it appears the syntax that i have for the install-data-local route should work but it's not. Any help would be appreciated.