[med-svn] [openemr] 01/01: Adding rules/install for first set of files that will go in /usr/share/openemr.

Ian Wallace iankarlwallace-guest at moszumanska.debian.org
Sun Jun 8 05:24:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

iankarlwallace-guest pushed a commit to branch master
in repository openemr.

commit 3d96992372a76752eec3bf05788d07759f42d1cd
Author: Ian Wallace <iankarlwallace at gmail.com>
Date:   Sat Jun 7 22:24:41 2014 -0700

    Adding rules/install for first set of files that will go in /usr/share/openemr.
---
 debian/install | 31 +++++++++++++++++++++++++++++++
 debian/rules   | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 78 insertions(+), 3 deletions(-)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..18e1626
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,31 @@
+accounting										usr/share/openemr
+acknowledge_license_cert.html	usr/share/openemr
+acl_setup.php									usr/share/openemr
+acl_upgrade.php								usr/share/openemr
+admin.php											usr/share/openemr
+CategoryTreeMenu.js						usr/share/openemr
+ccr														usr/share/openemr
+contrib												usr/share/openemr
+controller.php								usr/share/openemr
+controllers										usr/share/openemr
+custom												usr/share/openemr
+Documentation									usr/share/openemr
+DocumentTreeMenu.js						usr/share/openemr
+images												usr/share/openemr
+includes											usr/share/openemr
+index.php											usr/share/openemr
+interface											usr/share/openemr
+ippf_upgrade.php							usr/share/openemr
+library												usr/share/openemr
+modules												usr/share/openemr
+myportal											usr/share/openemr
+patients											usr/share/openemr
+setup.php											usr/share/openemr
+sl_convert.php								usr/share/openemr
+sql														usr/share/openemr
+sql_patch.php									usr/share/openemr
+sql_upgrade.php								usr/share/openemr
+templates											usr/share/openemr
+version.php										usr/share/openemr
+
+
diff --git a/debian/rules b/debian/rules
index 874a39c..ea1dea6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,51 @@
 #!/usr/bin/make -f
-
+# OpenEMR rules - uncomment next two lines for debug information
 export DH_VERBOSE=1
 export DH_OPTIONS=-v
 
-%:
-	dh $@
+build-arch:
+
+build: build-indep
+build-indep: build-stamp
+build-stamp:
+	dh_testdir
+	# place building of documentation here
+	touch build-stamp
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	dh_clean 
+	# debconf-updatepo <<-- We should really translate the package stuff into some other languages than English but haven't done it yet 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	dh_install
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installdebconf	
+	dh_installman
+	dh_lintian
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/openemr.git



More information about the debian-med-commit mailing list