head	1.3;
access;
symbols
	STABLE_1_0:1.1.2.5
	STABLE_1_0_10:1.1.2.3
	STABLE_1_0_9:1.1.2.3
	STABLE_1_0_8:1.1.2.2
	STABLE:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	99.08.04.04.51.01;	author mhardy;	state dead;
branches;
next	1.2;

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

1.1
date	99.06.16.01.25.48;	author rkrusty;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	99.06.16.01.25.48;	author rkrusty;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.06.29.20.00.35;	author rkrusty;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	99.07.07.18.42.00;	author rkrusty;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	99.08.10.11.01.50;	author rkrusty;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	99.08.18.03.08.14;	author rkrusty;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Mike: dipping toes into dev tree swimming pool. packaging stuff is on the move.
@
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: build-stamp
build-stamp:

	#***Here we go****
	touch build-stamp

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

install: install-stamp
install-stamp: build-stamp
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	#### Move all the stuff over to the debian dir ###
	cp -R * debian/tmp/usr/share/horde 
	#### Get rid of the debian sub dir ####
	rm -rf debian/tmp/usr/share/horde/debian
	#### Get rid of the documentation (it get's put back later) ###
	cd debian/tmp/usr/share/horde && rm -f COPYING CHANGES CREDITS \
	HELP INSTALL README TODO
	#### Remove all the CVS files and dirs ####
	rm -rf `find debian/tmp -print | grep CVS`
	### Move stuff around so it plays nicely on Debian ####
	touch debian/tmp/etc/horde/build.opts
	cp debian/defaults.php3 debian/tmp/etc/horde 
	cp debian/menu.txt debian/tmp/etc/horde
	cp debian/horde.php3 debian/tmp/etc/horde
	mv debian/tmp/usr/share/horde/config/examples debian/tmp/usr/doc/horde-core/ 
	mv debian/tmp/usr/share/horde/config/scripts debian/tmp/usr/doc/horde-core
	mv debian/tmp/usr/share/horde/config/* debian/tmp/etc/horde/
	mv debian/tmp/usr/share/horde/docs/* debian/tmp/usr/doc/horde-core/
	mv debian/tmp/usr/share/horde/scripts/* debian/tmp/usr/doc/horde-core/scripts/
	-rm -rf debian/tmp/usr/share/horde/scripts \
	debian/tmp/usr/share/horde/docs
	chmod 644 `find debian/tmp -type f -print`
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
		debian/tmp/usr/share/horde/*.sh \
		debian/tmp/usr/share/horde/lib/src/*.pl \
		debian/tmp/etc/horde/modules/create_config.pl
	ln -s /etc/horde/MOTD.html debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/db.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/defaults.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/header.txt debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/horde.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/html.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/lang.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/menu.txt debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/mime.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/modules debian/tmp/usr/share/horde/config/
	### Done ###

	touch install-stamp

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs 
	dh_installexamples
	dh_undocumented 
	dh_installchangelogs CHANGES
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
		debian/tmp/usr/doc/horde-core/scripts/*.pl \
		debian/tmp/usr/share/horde/*.sh \
		debian/tmp/usr/share/horde/lib/src/*.pl
	-rm -f install debian/tmp/usr/share/horde/install
	chown -R www-data.root debian/tmp/usr/share/horde debian/tmp/etc/horde
	dh_suidregister
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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

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


1.2
log
@[IEM] Debian autobuild stuff
@
text
@@


1.1
log
@file rules was initially added on branch STABLE.
@
text
@d1 96
@


1.1.2.1
log
@[IEM] debian build stuff
@
text
@a0 94
#!/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: build-stamp
build-stamp:

	#***Here we go****
	touch build-stamp

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

install: install-stamp
install-stamp: build-stamp
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	#### Move all the stuff over to the debian dir ###
	cp -R * debian/tmp/usr/share/horde 
	#### Get rid of the debian sub dir ####
	rm -rf debian/tmp/usr/share/horde/debian
	#### Get rid of the documentation (it get's put back later) ###
	cd debian/tmp/usr/share/horde && rm -f COPYING CHANGES CREDITS \
	HELP INSTALL README TODO
	#### Remove all the CVS files and dirs ####
	rm -rf `find debian/tmp -print | grep CVS`
	### Move stuff around so it plays nicely on Debian ####
	touch debian/tmp/etc/horde/build.opts
	cp debian/defaults.php3 debian/tmp/etc/horde 
	cp debian/menu.txt debian/tmp/etc/horde
	cp debian/horde.php3 debian/tmp/etc/horde
	mv debian/tmp/usr/share/horde/config/examples debian/tmp/usr/doc/horde-core/ 
	mv debian/tmp/usr/share/horde/config/scripts debian/tmp/usr/doc/horde-core
	mv debian/tmp/usr/share/horde/config/* debian/tmp/etc/horde/
	mv debian/tmp/usr/share/horde/docs/* debian/tmp/usr/doc/horde-core/
	mv debian/tmp/usr/share/horde/scripts/* debian/tmp/usr/doc/horde-core/scripts/
	-rm -rf debian/tmp/usr/share/horde/scripts \
	debian/tmp/usr/share/horde/docs
	chmod 644 `find debian/tmp -type f -print`
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
	debian/tmp/usr/share/horde/*.sh debian/tmp/usr/share/horde/lib/src/*.pl
	ln -s /etc/horde/MOTD.html debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/db.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/defaults.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/header.txt debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/horde.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/html.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/lang.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/menu.txt debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/mime.php3 debian/tmp/usr/share/horde/config/
	ln -s /etc/horde/modules debian/tmp/usr/share/horde/config/
	### Done ###

	touch install-stamp

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs 
	dh_installexamples
	dh_undocumented 
	dh_installchangelogs CHANGES
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
		debian/tmp/usr/doc/horde-core/scripts/*.pl \
		debian/tmp/usr/share/horde/*.sh \
		debian/tmp/usr/share/horde/lib/src/*.pl
	-rm -f install debian/tmp/usr/share/horde/install
	chown -R www-data.root debian/tmp/usr/share/horde debian/tmp/etc/horde
	dh_suidregister
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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

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


1.1.2.2
log
@[IEM] getting things ready for next release.  Adding in the HordeLibVersion file
so that I can force a specific visible version number.  (ie 1.0.8 instead of 1.0.9-cvs)
@
text
@a37 1
	cp debian/HordeLibVersion debian/tmp/usr/share/horde/lib/src/defines
@


1.1.2.3
log
@[IEM] fixing a bug
@
text
@d38 1
a38 1
	cp debian/HordeLibVersion.def debian/tmp/usr/share/horde/lib/src/defines
@


1.1.2.4
log
@[IEM] more work on the debian build stuff
@
text
@d43 2
a44 2
	mv debian/tmp/usr/share/horde/config/examples debian/tmp/usr/share/doc/horde-core/ 
	mv debian/tmp/usr/share/horde/config/scripts debian/tmp/usr/share/doc/horde-core
d46 2
a47 3
	rm -rf debian/tmp/usr/share/horde/config
	mv debian/tmp/usr/share/horde/docs/* debian/tmp/usr/share/doc/horde-core/
	mv debian/tmp/usr/share/horde/scripts/* debian/tmp/usr/share/doc/horde-core/scripts/
d51 1
a51 1
	chmod 755 debian/tmp/usr/share/doc/horde-core/scripts/*.sh \
d53 10
a62 1
	ln -s /etc/horde debian/tmp/usr/share/horde/config
d78 2
a79 2
	chmod 755 debian/tmp/usr/share/doc/horde-core/scripts/*.sh \
		debian/tmp/usr/share/doc/horde-core/scripts/*.pl \
@


1.1.2.5
log
@[IEM] updating changlog.  This ties up the stable branch for packaging at
least.  Adding in a links file to manage linkage.
@
text
@d43 2
a44 2
	mv debian/tmp/usr/share/horde/config/examples debian/tmp/usr/doc/horde-core/ 
	mv debian/tmp/usr/share/horde/config/scripts debian/tmp/usr/doc/horde-core
d47 2
a48 2
	mv debian/tmp/usr/share/horde/docs/* debian/tmp/usr/doc/horde-core/
	mv debian/tmp/usr/share/horde/scripts/* debian/tmp/usr/doc/horde-core/scripts/
d52 1
a52 1
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
d54 1
d70 2
a71 2
	chmod 755 debian/tmp/usr/doc/horde-core/scripts/*.sh \
		debian/tmp/usr/doc/horde-core/scripts/*.pl \
@


