projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7ef932
)
Ticket #2916 Debian Packages
author
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 17 Nov 2014 21:21:12 +0000
(16:21 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 17 Nov 2014 21:21:12 +0000
(16:21 -0500)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
69ea5f7
..
e69d411
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-93,9
+93,11
@@
build-stamp:
dh_testdir
# Add commands to compile the package here
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#
#TEST#
@@
-123,10
+125,13
@@
install-stamp: build-stamp
# debian/<package>-whatever.
install -d $(FREESIDE_DOCUMENT_ROOT)
# debian/<package>-whatever.
install -d $(FREESIDE_DOCUMENT_ROOT)
+ install -d $(TMP)-lib/usr/bin/
install -d $(TMP)-webui/usr/local/etc/freeside/
install -d $(TMP)/usr/local/etc/freeside/
install -d $(FREESIDE_CACHE)/masondata #MASONDATA
install -d $(TMP)-webui/usr/local/etc/freeside/
install -d $(TMP)/usr/local/etc/freeside/
install -d $(FREESIDE_CACHE)/masondata #MASONDATA
+ ( cd FS/ && $(MAKE) -e DESTDIR=${TMP}-lib install UNINST=1 )
+
# Install configuration files
install -d -o freeside ${FREESIDE_CONF}
# Install configuration files
install -d -o freeside ${FREESIDE_CONF}