--- libelwix/debian/Makefile.in 2024/03/14 23:49:29 1.2 +++ libelwix/debian/Makefile.in 2024/03/18 10:17:04 1.2.2.2 @@ -13,10 +13,12 @@ INSTALL = @INSTALL@ INC = ../inc LIB = ../lib +LIBSO = ${PACKAGE_NAME}.so + DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${PACKAGE_ARCH} all: depend - dpkg -b ${DEBNAME} + dpkg-deb -b --root-owner-group ${DEBNAME} depend: mkdir -p ${DEBNAME}/DEBIAN @@ -26,8 +28,8 @@ depend: ${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir} ${INSTALL} -d ${DEBNAME}${includedir}/elwix ${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix - ${INSTALL} ${LIB}/libelwix.so ${DEBNAME}${libdir} - ln -sf libelwix.so ${DEBNAME}${libdir}/libelwix.so.${PACKAGE_VERSION} + ${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir} + ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION} clean: rm -rf *~