[freeside-commits] branch master updated. 1cfaa817b9cfb0a3d628c571e4505b5e0c4e9954

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


The branch, master has been updated
       via  1cfaa817b9cfb0a3d628c571e4505b5e0c4e9954 (commit)
      from  b3a3e87627ab27c0b2c96c0242a6405864eee365 (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 1cfaa817b9cfb0a3d628c571e4505b5e0c4e9954
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