[freeside-commits] branch FREESIDE_4_BRANCH updated. 43ec777308c7717e2f4fb75ac96a710baa4b87ba

Mark Wells mark at 420.am
Thu Jul 2 19:52:25 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  43ec777308c7717e2f4fb75ac96a710baa4b87ba (commit)
      from  f458c57d91c7111c27fe84f5ef50336e7e82e23e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 43ec777308c7717e2f4fb75ac96a710baa4b87ba
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Jul 2 17:27:18 2015 -0700

    add tex style to debian/rules

diff --git a/debian/freeside-lib.postinst b/debian/freeside-lib.postinst
new file mode 100644
index 0000000..870ad31
--- /dev/null
+++ b/debian/freeside-lib.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+texhash /usr/local/share/texmf
+
diff --git a/debian/rules b/debian/rules
index f390072..a7f2b72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,6 +78,8 @@ export FREESIDE_URL           = http://$(HOSTNAME)/freeside/
 # (but leaving it for now, otherwise can't get RT to put files where we need em)
 export RT_PATH                = $(TMP)/opt/rt3
 
+export TEXMF_PATH             = $(TMP)-lib/usr/local/share/texmf/tex/latex
+
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
@@ -167,9 +169,8 @@ install-stamp: build-stamp
 	$(MAKE) -e DESTDIR=$(TMP)-webui install-docs
 	
 	# Install tex
-	install -D -o freeside -m 444 etc/longtable.sty \
-	$(TMP)-lib/usr/local/share/texmf/tex/latex/longtable.sty
-	texhash $(TMP)-lib/usr/local/share/texmf
+	install -d ${TEXMF_PATH}
+	install -o freeside -m 444 etc/*.sty ${TEXMF_PATH}
 
 	# Create Apache configurations
 	install -d $(APACHE_CONF)

-----------------------------------------------------------------------

Summary of changes:
 debian/freeside-lib.postinst |    4 ++++
 debian/rules                 |    7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
 create mode 100644 debian/freeside-lib.postinst




More information about the freeside-commits mailing list