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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
package=babel
export DH_COMPAT=3
stamp-configure:
dh_testdir
# JDB set to echo because there is no free JDB.
JAVADOC=gjdoc JDB=echo JAR=fastjar JAVAH=/usr/lib/kaffe/bin/javah \
PYTHON=python2.4 CC=gcc-3.4 CXX=g++-3.4 F77=g77-3.4 \
./configure --prefix=/usr --enable-fortran90=no
touch $@
build: stamp-configure
dh_testdir
CLASSPATH=/usr/lib/kaffe/jre/lib/rt.jar $(MAKE)
touch $@
clean:
dh_testdir
rm -f stamp-configure build
if [ -e Makefile ]; then $(MAKE) distclean; fi
rm -f lib/babel*.jar lib/sidl*.jar debian/babel0A2.1
dh_clean
install: build
$(MAKE) install prefix=`pwd`/debian/tmp/usr
mv debian/tmp/usr/bin/babel debian/tmp/usr/bin/babel0A2
# Get these into the babel package
mv debian/tmp/usr/share/sidl.sidl debian/tmp/usr/share/babel-0.10.2/
mv debian/tmp/usr/share/sgml debian/tmp/usr/share/babel-0.10.2/
binary-indep: install
dh_testdir -i
dh_testroot -i
dh_installdirs -i
dh_movefiles -i
dh_installdocs -i
/usr/bin/perl debian/babel-manpage-script > debian/babel0A2.1
dh_installman -pbabel-0.10.2 debian/babel0A2.1
dh_installchangelogs -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary-arch: install
dh_testdir -a
dh_testroot -a
dh_installdirs -a
dh_movefiles -a
dh_installdocs -a
dh_installman -plibsidl-dev debian/babel-config.1
dh_installchangelogs -a
dh_strip -a
dh_makeshlibs -a
dh_compress -a
dh_fixperms -a
dh_python -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean checkroot
|