<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi.</FONT></DIV>
<DIV><FONT face=Arial size=2>I see DRBD is well prepared to make .rpm and .deb
packages, but is not so easy to create packages for other
distributions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In order to make easier tthe building
of packages for distributions with another format, it would be nice if
we had another variable added to the Makefiles, so as we can change the default
instalattion path.</FONT></DIV>
<DIV><FONT face=Arial size=2>This way we could have $PREFIX to define the real
instalattion path and another variable like $DESTDIR as alternative install
directory.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As a sample of what would have to be modified, i
took a excerpt of the usrer/Makefile.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Instead of having:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>install -m 755 drbdsetup $(PREFIX)/sbin/
;
\<BR>install -m 755 drbdmeta $(PREFIX)/sbin/
;
\<BR>install -m 755 drbdadm $(PREFIX)/sbin/
;
\</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>we would have:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>install -m 755 drbdsetup $DESTDIR$(PREFIX)/sbin/
;
\<BR>install -m 755 drbdmeta $DESTDIR$(PREFIX)/sbin/
;
\<BR>install -m 755 drbdadm $DESTDIR$(PREFIX)/sbin/
;
\</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>then we could install the package this
way:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>make install DESTDIR=/tmp/package-drbd</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>At the end we could have the entire tree below the
alternative path, making the package creation task more simple.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Carlos</FONT></DIV></DIV></BODY></HTML>