If you want to compile xorg-edit on other distros, you've got a problem:
In the moment xorg-edit does install everything under
/usr/local/lib/xorgedit/*
No matter if we have to do with the executable binary
No matter if we have a language file
no matter if we have config files
Please make use of the common standard-variables for installation directories in your Makefile.
It would be much easier then to compile a distro-specific package of xorg-edit.
I.e. my distro uses these variables for "make install":
prefix=/usr \
exec_prefix=/usr \
bindir=/usr/bin \
sbindir=/usr/sbin \
sysconfdir=/etc \
datadir=/usr/share \
includedir=/usr/include \
libdir=/usr/lib \
libexecdir=/usr/lib \
localstatedir=/var/lib \
sharedstatedir=/usr/com \
mandir=/usr/share/man \
infodir=/usr/share/info
Btw. - with present Makefile "make install" will copy all files "de_DE", instead of just copying the only necesarry file "xorg-edit.mo"
Logged In: NO
To be more clearly:
Don't use:
INSTALLPATH = /usr/local
but something like:
datadir = /usr/share
bindir = /usr/bin
as i.e. RPM-macros are able to overwrite the variables with distro-specific values!
Executing a binary file located in "/usr/local/lib/*" isn't very smart, as it can not be found through the standard-paths defined in a common distro.