more accurate split of files into -webui and -lib packages
authorIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 09:33:08 +0000 (01:33 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 29 Jan 2016 09:33:08 +0000 (01:33 -0800)
debian/rules

index 38b6b0a..4a2bf6e 100755 (executable)
@@ -76,7 +76,7 @@ export FREESIDE_URL           = http://$(HOSTNAME)/freeside/
 # a kludge to hack it out afterwords.  look into using fakeroot (didn't
 # realize it would need to be explicit argh)
 # (but leaving it for now, otherwise can't get RT to put files where we need em)
-export RT_PATH                = $(TMP)/opt/rt3
+export RT_PATH                = $(TMP)-lib/opt/rt3
 
 export TEXMF_PATH             = $(TMP)-lib/usr/local/share/texmf/tex/latex
 
@@ -134,7 +134,7 @@ install-stamp: build-stamp
        install -d $(TMP)-webui/usr/local/etc/freeside/
        install -d $(TMP)-webui/etc/insserv/overrides/
        install -d $(TMP)/usr/local/etc/freeside/
-       install -d $(FREESIDE_CACHE)/masondata #MASONDATA
+       install -d $(TMP)-webui/masondata #MASONDATA
 #      install -d $(TMP)-lib/usr/bin
 
        ( cd FS/ && $(MAKE) -e DESTDIR=${TMP}-lib install)
@@ -271,7 +271,7 @@ install-stamp: build-stamp
        ##hack the build dir out of RT.  yeah, sucky.
 
        perl -p -i -e "\
-       s'${TMP}(-webui)''g;\
+       s'${TMP}(-webui|-lib)''g;\
        s'${TMP}''g;\
        " ${TMP}/opt/rt3/etc/*.pm \
                ${TMP}/opt/rt3/lib/*.pm \
@@ -299,7 +299,7 @@ binary-indep: build install
        dh_testroot
        dh_installdeb install
        dh_installdocs #freeside.docs README AGPL
-       dh_installexamples eg/*
+       dh_installexamples eg/* bin
 #      dh_installmenu
        dh_installdebconf       
 #      dh_installlogrotate