1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
CC=gcc
export CC
DEB_MAKE_CHECK_TARGET =
DEB_MAKE_INSTALL_TARGET = install prefix=$(DEB_DESTDIR)/usr
DEB_CONFIGURE_EXTRA_FLAGS = --enable-static --enable-shared --with-freetype=yes --with-freetype-includedir=/usr/include/freetype
common-install-arch::
mv $(DEB_DESTDIR)/usr/share/doc/vflib2/man.dvi \
$(DEB_DESTDIR)/usr/share/doc/vflib2/man-ja.dvi
mv $(DEB_DESTDIR)/usr/share/doc/vflib2/man.ps \
$(DEB_DESTDIR)/usr/share/doc/vflib2/man-ja.ps
install -d $(DEB_DESTDIR)/usr/sbin/
install -m 755 debian/update-vfontcap $(DEB_DESTDIR)/usr/sbin
install -d $(DEB_DESTDIR)/etc/vfont/
cp -p debian/vfontcap.vflib2 $(DEB_DESTDIR)/etc/vfont/00vflib2
cp -p tools/README $(DEB_DESTDIR)/usr/share/doc/vflib2/README.tools
dh_installdefoma -v
install -d $(DEB_DESTDIR)/etc/defoma/config/
install -m 644 debian/vflib2.conf \
$(DEB_DESTDIR)/etc/defoma/config/vflib2.conf
|