[Pkg-bugzilla-commits] r98 - in trunk/bugzilla-2.18: . debian

Alexis Sukrieh sukria-guest@costa.debian.org
Sat, 11 Jun 2005 12:40:34 +0000


Author: sukria-guest
Date: 2005-06-11 12:40:33 +0000 (Sat, 11 Jun 2005)
New Revision: 98

Modified:
   trunk/bugzilla-2.18/Makefile
   trunk/bugzilla-2.18/debian/bugzilla.links
Log:
a first step towards a nice webapp

Modified: trunk/bugzilla-2.18/Makefile
===================================================================
--- trunk/bugzilla-2.18/Makefile	2005-05-19 14:49:03 UTC (rev 97)
+++ trunk/bugzilla-2.18/Makefile	2005-06-11 12:40:33 UTC (rev 98)
@@ -20,7 +20,6 @@
 lib_files	= *.pm CGI.pl defparams.pl globals.pl move.pl runtests.pl 
 lib_perlscripts	= checksetup.pl collectstats.pl defparams.pl importxml.pl testserver.pl whineatnews.pl
 lib_dir		= Bugzilla
-static_dirs	= css js skins data graphs 
 static_files	= *.js *.txt *.gif *.png *.jpg quicksearchhack.html quicksearch.html
 config_files	= debian/default-files/localconfig debian/default-files/index.html 
 
@@ -56,10 +55,10 @@
 	mkdir -p data/duplicates
 	mkdir -p data/webdot
 	@for this_dir in $(shell find data -type d) ; do \
-		install -d -m 0755 -o root -g root $(BUGZILLA_WWW)/$$this_dir ;\
+		install -d -m 0755 -o root -g root $(BUGZILLA_DATADIR)/$$this_dir ;\
 	done
 	@for this_dir in $(shell find graphs -type d) ; do \
-		install -d -m 0755 -o root -g root $(BUGZILLA_WWW)/$$this_dir ;\
+		install -d -m 0755 -o root -g root $(BUGZILLA_DATADIR)/$$this_dir ;\
 	done
 	@for this_dir in $(shell find skins -type d) ; do \
 		install -d -m 0755 -o root -g root $(BUGZILLA_WWW)/$$this_dir ;\
@@ -86,10 +85,10 @@
 	# The tricky point here, is to leave "params" alone, that's a conffile now 
 	# We'll handle it by hand in postinst.
 	@for this_file in $(shell find data -type f -name '!params') ; do \
-		install -m 0644 -o root -g root $$this_file $(BUGZILLA_WWW)/`dirname $$this_file` ;\
+		install -m 0644 -o root -g root $$this_file $(BUGZILLA_DATADIR)/`dirname $$this_file` ;\
 	done
 	@for this_file in $(shell find graph -type f) ; do \
-		install -m 0644 -o root -g root $$this_file $(BUGZILLA_WWW)/`dirname $$this_file` ;\
+		install -m 0644 -o root -g root $$this_file $(BUGZILLA_DATADIR)/`dirname $$this_file` ;\
 	done
 	@for this_file in $(shell find skins -type f) ; do \
 		install -m 0644 -o root -g root $$this_file $(BUGZILLA_WWW)/`dirname $$this_file` ;\

Modified: trunk/bugzilla-2.18/debian/bugzilla.links
===================================================================
--- trunk/bugzilla-2.18/debian/bugzilla.links	2005-05-19 14:49:03 UTC (rev 97)
+++ trunk/bugzilla-2.18/debian/bugzilla.links	2005-06-11 12:40:33 UTC (rev 98)
@@ -1,2 +1,4 @@
 usr/share/bugzilla/web var/www/bugzilla
 etc/bugzilla/index.html usr/share/bugzilla/web/index.html
+var/lib/bugzilla/data usr/share/bugzilla/web/data
+var/lib/bugzilla/graphs usr/share/bugzilla/web/graphs