Where to put helper-scripts with GNU autoconf/automake?

Add something like this to Makefile. Am scriptsdir = $(prefix)/bin scripts_DATA = awkscript1 awkscript2 In this case it will install awkscript in $(prefix)/bin (you can also use $(bindir)). Note: Don't forget that the first should be named name + dir (scripts -> scriptsdir) and the second should be name + _DATA (scripts -> scripts_DATA).

If the awk scripts won't go into the main bin directory (prefix/bin), then you need to place them in an appropriate sub-directory - probably of lib but possibly libexec or share (since the awk scripts are probably platform neutral). Correct: software won't necessarily end up in /usr/local/bin; on my machine, /usr/local/bin is managed by MIS and all the software I install therefore goes under /usr/gnu/. I use: .

/configure --prefix=/usr/gnu to get the software installed where I want it. You can embed the value of PREFIX in the bash scripts -- effectively, you will 'compile' the scripts to include the install location. Be aware of problems during the build testing - you may need to locate the scripts relative to the current directory first and relative to PREFIX later.

Jonathan, in response to your additional question: if you want to replace the value of prefix at the time of build, you will need to: rename your script 'myscript' to 'myscript. In' add a rule to configure. Ac to generate it at the bottom use a macro I made called AS_AC_EXPAND use it like this: AS_AC_EXPAND(BINDIR, $bindir) in your 'myscript.In', you can now use @BINDIR@ and it will get expanded to the full path where the script will end up being installed.

Note that you shouldn't use PREFIX directly, any of the installation directories can potentially be changed so you really want to use the value passed to configure for bindir and expand that.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions