From: Lars H. <lhe...@us...> - 2004-10-06 09:15:41
|
Per Persson writes: > Hi, > there was a small problem with the way I built gnuplot for my binary > installer. > I naively install gnuplot into a dir and then copy the contents to the > installer. The path to gnuplot.gih gets hardwired to that install > location. Setting --with-gihdir= didn't help, since it then tries to > install gnuplot.gih at that location. > > How do other people deal with this? > Skipping the install phase and just copy the files from the built > sources? > Or, is there packaging support in the makefiles that I'm missing? I don't know how your installer works, but there a little bit of support for package builds in the makefiles. If you install using make install DESTDIR=/path/to/dir , the complete hierarchy gets installed under /path/to/dir and you can build a package from there. E.g. $ make install DESTDIR=/tmp/package ... $ find /tmp/package /tmp/package/usr/local/bin/gnuplot /tmp/package/usr/local/man/man1/gnuplot.1 ... |