head	1.9;
access;
symbols;
locks; strict;
comment	@# @;


1.9
date	2000.02.21.06.44.15;	author rkrusty;	state Exp;
branches;
next	1.8;

1.8
date	99.10.18.11.15.17;	author rkrusty;	state Exp;
branches;
next	1.7;

1.7
date	99.10.15.01.17.19;	author rkrusty;	state Exp;
branches;
next	1.6;

1.6
date	99.10.15.01.08.40;	author rkrusty;	state Exp;
branches;
next	1.5;

1.5
date	99.08.25.02.02.20;	author rkrusty;	state Exp;
branches;
next	1.4;

1.4
date	99.08.25.01.38.10;	author rkrusty;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.01.28.19;	author rkrusty;	state Exp;
branches;
next	1.2;

1.2
date	99.08.25.01.28.19;	author rkrusty;	state Exp;
branches;
next	1.1;

1.1
date	99.08.24.15.42.25;	author rkrusty;	state Exp;
branches;
next	;


desc
@@


1.9
log
@[IEM] migrating to .php format from .php3
@
text
@#!/usr/bin/make -f
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Cristoph Lameter.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

build: 
	#**** Off we go... ****

clean:
	dh_testdir
	rm -f install-stamp 
	-rm -f debian/files
	-rm -f debian/substvars
	dh_clean

install: install-stamp
install-stamp: 
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	-cp -R * debian/tmp/usr/share/horde/skattek/
	-rm -rf debian/tmp/usr/share/horde/skattek/debian
	-rm -rf debian/tmp/usr/share/horde/skattek/packaging
	cd debian/tmp/usr/share/horde/skattek && rm COPYING README 
	mv debian/tmp/usr/share/horde/skattek/config/*.dist debian/tmp/usr/share/doc/skattek/examples
	mv debian/tmp/usr/share/horde/skattek/docs/* debian/tmp/usr/share/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/config/scripts/* debian/tmp/usr/share/doc/skattek/examples/
	rm -rf debian/tmp/usr/share/horde/skattek/config/scripts
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/share/doc/skattek/examples
	rm -rf debian/tmp/usr/share/horde/skattek/docs
	rm -rf `find debian/tmp/ -print | grep CVS`
	mv debian/tmp/usr/share/horde/skattek/config/* debian/tmp/etc/skattek
	cp debian/SkattekLibVersion.def debian/tmp/usr/share/horde/skattek/lib/src/defines
	mv debian/tmp/etc/skattek/skattek_module_config.php debian/tmp/etc/horde/modules/
	cp debian/pgsql_create.sql debian/tmp/usr/share/doc/skattek/examples
	cp debian/defaults.options debian/tmp/etc/skattek
	chmod 644 `find debian/tmp -type f -print`
	chmod 755 debian/tmp/usr/share/doc/skattek/examples/*.sh \
	  debian/tmp/usr/share/horde/skattek/lib/src/uninstall.pl \
	  debian/tmp/usr/share/horde/skattek/lib/src/build.pl
	-rm -rf debian/tmp/usr/share/horde/skattek/config

	touch install-stamp

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installdebconf
	dh_installdocs 
	dh_installexamples
	dh_undocumented  
	dh_installchangelogs docs/CHANGES
	dh_link
	dh_strip
	dh_compress
	dh_fixperms 
	chmod 755 debian/tmp/usr/share/doc/skattek/examples/*.sh* \
		debian/tmp/usr/share/doc/skattek/examples/contrib/zerodiv/sbin/*.pl*
	chown -R www-data.root debian/tmp/usr/share/horde/skattek \
		debian/tmp/etc/skattek
	dh_suidregister
	dh_perl
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	cd debian/tmp && find ./etc -type f -print | sed -e 's#^./#/#' > DEBIAN/conffiles
	dh_md5sums
	dh_builddeb

source diff:                                                                  
	@@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

binary: binary-indep 
.PHONY: build install clean binary-indep binary
@


1.8
log
@[IEM]

    1> Start of Debian migration to debconf
    2> removing obsolete db.lib
    3> adding delete/update functions for objects
    4> merging fwobjects and objects
    5> getting rid of some non-used variables
    6> cleaning up db tables a bit more
    7> getting rid of html.php3..using html.php3.dist instead
    8> getting rid of calls to db.php3 and adding calls to horde.php3
@
text
@d39 1
a39 1
	mv debian/tmp/etc/skattek/skattek_module_config.php3 debian/tmp/etc/horde/modules/
@


1.7
log
@[IEM] this teaches me to commit before testing the build. ack..this fixes
problems with paths and other incorrect things I goofed when converting to
debconf and whatnot
@
text
@d41 1
@


1.6
log
@[IEM] Migrating skattek to debconf. (debian build stuff)
      Updating the defaults.php3.dist file removing unneeded items
      Same with the pgsql create script
      Updating Changes, version number, etc...
      Removing unneeded default options from the object
      Slowly moving away from a db.lib and towards phplib
@
text
@d29 1
a29 2
	cd debian/tmp/usr/share/horde/skattek && rm COPYING README \
		ChangeLog 
d34 1
a34 1
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/share/doc/skattek/
d39 1
a39 1
	cp debian/skattek_module_config.php3 /etc/horde/module/
d56 1
a56 1
	dh_installchangelogs ChangeLog
d62 1
a62 1
		debian/tmp/usr/share/doc/skattek/examples/zerodiv/sbin/*.pl*
@


1.5
log
@[IEM] forgot to update these.

  1> new index.php3 that works with the new frames layout (stolen from imp
and hacked up basically)
  2> fixed the skattek module conf file (removed extra , and changed pathing)
  3> new main.inc file for menu that works with new frames
@
text
@d31 5
a35 4
	cp debian/tmp/usr/share/horde/skattek/config/*.dist debian/tmp/usr/doc/skattek/examples
	mv debian/tmp/usr/share/horde/skattek/docs/* debian/tmp/usr/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/config/scripts debian/tmp/usr/doc/skattek/
	mv debian/tmp/usr/share/horde/skattek/contrib debian/tmp/usr/doc/skattek
d40 2
d43 1
a43 1
	chmod 755 debian/tmp/usr/doc/skattek/scripts/*.sh \
d53 1
d62 2
a63 2
	chmod 755 debian/tmp/usr/doc/skattek/scripts/*.sh* \
		debian/tmp/usr/doc/skattek/contrib/zerodiv/sbin/*.pl*
d67 1
d71 1
a71 1
	cd debian/tmp && find ./etc/skattek -type f -print | sed -e 's#^./#/#' > DEBIAN/conffiles
@


1.4
log
@[IEM] Migrating some of the core docs out of the root tree into the docs
subdir.  Basically leaving the README which will point to the docs dir
and the COPYING file. (Updating debian stuff to match)
@
text
@d19 1
a19 1
install: build-stamp install-stamp
@


1.3
log
@[IEM] some cleanup and debian tasks
  updating changlog (and all) to match new -devel tree with 1.3.x horde
  adding in a custom version.dev file for debian.
  removing examples dir as per *policy* :)

should probably build a *official* horde module policy that has a FHS
piece and other items so that there is some quality control.  dunno
@
text
@d9 1
a9 3
build: build-stamp
build-stamp:

a10 1
	touch build-stamp
d14 1
a14 1
	rm -f build-stamp install-stamp 
d29 2
a30 2
	cd debian/tmp/usr/share/horde/skattek && rm COPYING HELP CREDITS \
		ChangeLog INSTALL README TODO build-stamp
@


1.2
log
@[IEM] some cleanup and debian tasks
  updating changlog (and all) to match new -devel tree with 1.3.x horde
  adding in a custom version.dev file for debian.
  removing examples dir as per *policy* :)

should probably build a *official* horde module policy that has a FHS
piece and other items so that there is some quality control.  dunno
@
text
@@


1.1
log
@[IEM] moving all debian related files into packaging/debian to follow suit
@
text
@d31 1
d34 1
a34 1
	mv debian/tmp/usr/share/horde/skattek/docs/examples debian/tmp/usr/doc/skattek
d36 1
d41 1
a41 1

@

