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