Annotation of libelwix/debian/Makefile.in, revision 1.3.2.1
1.2 misho 1: prefix = @prefix@
2: exec_prefix = @exec_prefix@
3: includedir = @includedir@
4: libdir = @libdir@
5:
6: PACKAGE_NAME = @PACKAGE_NAME@
7: PACKAGE_VERSION = @PACKAGE_VERSION@
8: PACKAGE_ARCH = @target_cpu@
9: PACKAGE_REV = 1
1.3.2.1 ! misho 10: DEBIAN_ARCH = @DEBIAN_ARCH@
1.2 misho 11:
12: INSTALL = @INSTALL@
13:
14: INC = ../inc
15: LIB = ../lib
16:
1.3 misho 17: LIBSO = ${PACKAGE_NAME}.so
18:
1.3.2.1 ! misho 19: DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${DEBIAN_ARCH}
1.2 misho 20:
21: all: depend
1.3 misho 22: dpkg-deb -b --root-owner-group ${DEBNAME}
1.2 misho 23:
24: depend:
25: mkdir -p ${DEBNAME}/DEBIAN
26: cp control ${DEBNAME}/DEBIAN
27: mkdir -p ${DEBNAME}${includedir}
28: mkdir -p ${DEBNAME}${libdir}
29: ${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir}
30: ${INSTALL} -d ${DEBNAME}${includedir}/elwix
31: ${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix
1.3 misho 32: ${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir}
33: ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION}
1.2 misho 34:
35: clean:
36: rm -rf *~
37: rm -rf ${DEBNAME}
38: rm -rf ${DEBNAME}.deb
39:
40: install:
41:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>