You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by da...@apache.org on 2003/03/26 01:26:20 UTC
cvs commit: tcl-rivet/debian rules
davidw 2003/03/25 16:26:20
Added: debian rules
Log:
* debian/rules (build): Use 'rules' file from mod_dtcl.
Revision Changes Path
1.1 tcl-rivet/debian/rules
Index: rules
===================================================================
#!/usr/bin/make -f
# $Id: rules,v 1.1 2003/03/26 00:26:20 davidw Exp $
TCL_VERSION=8.4
package=rivet
build:
$(checkdir)
( export C_INCLUDE_PATH=/usr/include/tcl$(TCL_VERSION)/ ; ./make.tcl shared )
touch build
clean:
$(checkdir)
-rm -f build
./make.tcl clean
-rm -f `find . -name "*~"`
-rm -rf debian/tmp debian/files* core debian/substvars
binary-indep: checkroot build
$(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: checkroot build
$(checkdir)
-rm -rf debian/tmp
install -d debian/tmp
cd debian/tmp && install -d `cat ../dirs`
cp mod_rivet.so debian/tmp/usr/lib/apache/1.3/
cp debian/400mod_rivet.info debian/tmp/usr/lib/apache/1.3/
dh_installdocs docs/ contrib/
dh_installchangelogs
dh_movefiles
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_makeshlibs
dh_md5sums
dh_builddeb
dpkg-gencontrol
chown -R root.root debian/tmp
chmod -R go=rX debian/tmp
dpkg --build debian/tmp ..
define checkdir
test -f debian/rules
endef
binary: binary-indep binary-arch
checkroot:
$(checkdir)
test root = "`whoami`"
.PHONY: binary binary-arch binary-indep clean checkroot
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org