Rev 3609 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!/usr/bin/make -f# debian/rules file for the Debian GNU/Linux r-base package# Copyright 1997, 1998 by Douglas M. Bates <bates@stat.wisc.edu>package=r-basebuild:dh_testdirCFLAGS="-Wall -O2" FFLAGS="-Wall -O2"\SHLIBLDFLAGS="-shared -lc" ./configure --prefix=/usr --with-g77makemake helpmake htmltouch buildclean:dh_testdir-rm -f build-make distclean-rm -f `find . -name "*~"`-rm -rf debian/tmp debian/files* core debian/substvars-rm -f doc/html/function.html doc/html/packages.html# Build architecture-independent files here.binary-indep: build# We have nothing to do by default.# Build architecture-dependent files here.binary-arch: builddh_testdirdh_testrootdh_clean -kdh_installdirsmake install prefix=`pwd`/debian/tmp/usrsed -e '/^RHOME=.*/s::RHOME=/usr/lib/R:' \-e '/R.binary /s::R.binary --vsize 8M --nsize 400000 :'\< bin/R > debian/tmp/usr/bin/Rdh_installdocs(cd debian/tmp/usr/doc/r-base/doc && ln -s ../../../lib/R/doc/html .)(cd debian/tmp/usr/doc/r-base && ln -s ../../lib/R/library .)dh_installmenudh_installmanpages re_format.7 regex.3dh_installchangelogs NEWSdh_stripdh_compressdh_fixpermsdh_installdebdh_shlibdepsdh_gencontroldh_makeshlibsdh_md5sumsdh_builddeb# Below here is fairly generic reallybinary: binary-indep binary-arch.PHONY: binary binary-arch binary-indep clean checkroot