X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=be2a5a296d3bc8671948459c8ea8715f4db6076d;hb=dd553650db589f8155022da1a5c1fd647863c888;hp=69ea5f73d2b75f8cb7c2d5c3c2754e035203e222;hpb=c84d0c513a89e48f3d4b234e054b3b6f7487825d;p=freeside.git diff --git a/debian/rules b/debian/rules index 69ea5f73d..be2a5a296 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 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# @@ -127,6 +129,8 @@ install-stamp: build-stamp install -d $(TMP)/usr/local/etc/freeside/ install -d $(FREESIDE_CACHE)/masondata #MASONDATA + ( cd FS/ && $(MAKE) -e DESTDIR=${TMP} install) + # Install configuration files install -d -o freeside ${FREESIDE_CONF}