X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fdebian%2Frules;h=f24ca98407f7d909fac2ee70bcdd3f03736597b9;hb=73e18839e37f0c287f77b40fb7c2fbce2a112a58;hp=d46918ae4169349a11fbacbe6a631708dde203f5;hpb=c9c7edc3c74fb80d6c0192790702a31010304110;p=citadel.git diff --git a/webcit/debian/rules b/webcit/debian/rules index d46918ae4..f24ca9840 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -27,11 +27,10 @@ configure-stamp: CFLAGS="$(CFLAGS)" ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ - --prefix=/etc/citadel/www/ \ + --prefix=/usr/sbin/ \ + --with-wwwdir=/usr/share/citadel-webcit \ --with-localedir=/usr/share/locale \ - --with-sysconfdir=/etc/citadel \ - --with-spooldir=/var/spool/citadel \ - --with-datadir=/etc/citadel \ + --with-editordir=/usr/share/tinymce/www \ --with-rundir=/var/run/citadel \ --with-ical --with-db --with-ldap \ --with-zlib --with-ssl --with-libiconf \ @@ -66,21 +65,8 @@ install: build dh_testroot dh_clean -k dh_installdirs + $(MAKE) install-bin install-locale install-wwwdata DESTDIR=$(DESTDIR) -# Add here commands to install the package into debian/webcit. - $(MAKE) -C . install DESTDIR=$(DESTDIR) -# there are debian tinymce packages arround, so we don't ship it another time. - rm -rf $(DESTDIR)/etc/citadel/www/tiny_mce -# we don't use the setup anymore, omit it. - rm -f $(DESTDIR)/etc/citadel/www/setup -# locale -> /usr/share/locale - mkdir -p $(DESTDIR)/usr/share/ - mv $(DESTDIR)/etc/citadel/www/locale \ - $(DESTDIR)/usr/share/locale - - mkdir -p $(DESTDIR)/usr/sbin - mv $(DESTDIR)/etc/citadel/www/webserver \ - $(DESTDIR)/usr/sbin/ # Build architecture-independent files here.