X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fdebian%2Frules;h=9ce903b6caa2acf5a05299286c504f121cc731dc;hp=deb4b2d8c7325d9cdb2efffe42331caaf5e22408;hb=39bb231890f62d31bc44930f2eae2f127281bdfb;hpb=45fa88c4679c8c95f681f94243c9ad1b60900d28 diff --git a/webcit/debian/rules b/webcit/debian/rules index deb4b2d8c..9ce903b6c 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -12,12 +12,12 @@ -CFLAGS = -Wall -g +CFLAGS = -Wall -g -ggdb ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else - CFLAGS += -O2 + CFLAGS += -O0 -ggdb endif configure: configure-stamp @@ -31,7 +31,7 @@ configure-stamp: --with-spooldir=/var/spool/citadel \ --with-datadir=/var/lib/citadel \ --with-rundir=/var/run/citadel \ - --with-ical --with-db --with-ldap --with-zlib --with-ssl --with-libiconf --with-newt + --with-ical --with-db --with-ldap --with-zlib --with-ssl --with-libiconf --with-newt --with-included-gettext touch configure-stamp @@ -73,7 +73,14 @@ install: build mkdir -p $(CURDIR)/debian/citadel-webcit/usr/lib/citadel-webcit/ mv $(CURDIR)/debian/webcit/var/lib/citadel/www/static \ $(CURDIR)/debian/citadel-webcit/usr/share/doc/citadel-webcit/examples/ - cd $(CURDIR)/debian/citadel-webcit/usr/share/doc/citadel-webcit/examples/static; md5sum *|grep -v ".gz"|grep -v md5sums >md5sums + mv $(CURDIR)/debian/webcit/var/lib/citadel/www/tiny_mce \ + $(CURDIR)/debian/citadel-webcit/usr/share/doc/citadel-webcit/examples/ +# TODO: locale -> /usr/share/locale + mv $(CURDIR)/debian/webcit/var/lib/citadel/www/locale \ + $(CURDIR)/debian/citadel-webcit/usr/share/doc/citadel-webcit/examples/ + + cd $(CURDIR)/debian/citadel-webcit/usr/share/doc/citadel-webcit/examples/; \ + md5sum `find -type f |grep -v md5sums `>md5sums; mv $(CURDIR)/debian/webcit/var/lib/citadel/www/setup \ $(CURDIR)/debian/citadel-webcit/usr/lib/citadel-webcit/ mv $(CURDIR)/debian/webcit/var/lib/citadel/www/webserver \