DavidGriffith / inform6unix

The Inform6 compiler Unix package (moved to https://gitlab.com/DavidGriffith/inform6unix)
Other
12 stars 6 forks source link

Makefile does not support BINDIR and DESTDIR variables #11

Closed leaf-node closed 8 years ago

leaf-node commented 8 years ago

These variables are useful for packaging tools. They control where files get built and installed to. They might be used like this:

make BINDIR=%{_bindir} # _bindir == /usr/bin
make install DESTDIR=%{_buildroot} # _buildroot == ~/rpmbuild/BUILDROOT/package-version

[source]

I'm happy to spend some time looking into this. I plan on making a pull request, but it might take me a while to do so. If your release is approaching, or you wish to work on this instead, simply let me know. : )

leaf-node commented 8 years ago
%make_install PREFIX=%{buildroot}/usr

does the job well enough. : )