X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=c658278d9983bf9901b239a2d02197c1f896b286;hb=f27fc0c47675bb7b3aab58153caf51a435c7a610;hp=69ea5f73d2b75f8cb7c2d5c3c2754e035203e222;hpb=f7ef9328911395ea38ec64c407e8463825829083;p=freeside.git diff --git a/debian/rules b/debian/rules index 69ea5f73d..c658278d9 100755 --- a/debian/rules +++ b/debian/rules @@ -93,9 +93,11 @@ build-stamp: dh_testdir # Add commands to compile the package here - ( cd FS/ && $(PERL) Makefile.PL INSTALLDIRS=vendor ) - - $(MAKE) -e DESTDIR=${TMP}-lib perl-modules + ( cd FS/ && $(PERL) Makefile.PL PREFIX=$(TMP)-lib/usr INSTALLDIRS=vendor && [ -e Makefile ] || perl Makefile.PL && make ) + + #install this for freeside-setup + install -d $(DIST_CONF) + install `ls -d conf/[a-z]* | grep -v CVS | grep -v '^conf/registries'` $(DIST_CONF) #TEST# @@ -123,10 +125,13 @@ install-stamp: build-stamp # debian/-whatever. install -d $(FREESIDE_DOCUMENT_ROOT) + install -d $(TMP)-lib/usr/bin/ install -d $(TMP)-webui/usr/local/etc/freeside/ install -d $(TMP)/usr/local/etc/freeside/ install -d $(FREESIDE_CACHE)/masondata #MASONDATA + ( cd FS/ && $(MAKE) -e DESTDIR=${TMP}-lib install) + # Install configuration files install -d -o freeside ${FREESIDE_CONF}