summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3b6174)
raw | patch | inline | side by side (parent: e3b6174)
author | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Mon, 26 Sep 2011 13:59:19 +0000 (13:59 +0000) | ||
committer | tolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5> | |
Mon, 26 Sep 2011 13:59:19 +0000 (13:59 +0000) |
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1972 98d490a6-b407-0410-aaaa-fdee166ba3f5
debian/changelog | patch | blob | history | |
debian/install | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index c4910f8cb760c3b327591aea13db2022fd282479..d7835477cef708c82ab05c5f67ee75ff73b71074 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* removed patches/php5.3-deprecated-ereg.dpatch; applied upstream
* removed patches/fix-get_class-object.dpatch; no longer needed
* removed patches/visibility_magic-set-method.dpatch; no longer needed
+ * rework debian/rules and install files
-- Alexander Reichle-Schmehl <tolimar@debian.org> Mon, 26 Sep 2011 15:51:49 +0200
diff --git a/debian/install b/debian/install
index 3a7c546a66635f89ec7375409422b50d113ec0e3..9d30939cf66d0c5455e4b9029c7c2baf49161531 100644 (file)
--- a/debian/install
+++ b/debian/install
etc/* /etc/nagvis
-nagvis/* /usr/share/nagvis/htdocs/nagvis
docs /usr/share/doc/nagvis
-wui/* /usr/share/nagvis/htdocs/wui
-index.php /usr/share/nagvis/htdocs
+share/ /usr/share/nagvis/htdocs
debian/apache.conf /usr/share/nagvis/debian
debian/apache.conf /etc/nagvis
diff --git a/debian/rules b/debian/rules
index 48ecf48d521f487de9260f906b9728cbba3aacd5..d0755b7fd0026ecff5ab0032f75f3419d2f408a7 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
dh_install
- # -- images to /var
- rm -f $(DEST)/usr/share/nagvis/htdocs/nagvis/images/*/.gitignore
- rm -f $(DEST)/usr/share/nagvis/htdocs/nagvis/images/*/*/.gitignore
- mv $(DEST)/usr/share/nagvis/htdocs/nagvis/images/* $(DEST)/var/lib/nagvis/images/.
-
- # -- templates
- mv $(DEST)/usr/share/nagvis/htdocs/nagvis/templates $(DEST)/etc/nagvis/.
-
- # -- gadgets
- mv $(DEST)/usr/share/nagvis/htdocs/nagvis/gadgets $(DEST)/etc/nagvis/.
+ # -- move user files
+ mv $(DEST)/usr/share/nagvis/htdocs/share/userfiles/ $(DEST)/etc/nagvis/.
[ -x /usr/bin/html2text ] && \
/usr/bin/html2text -ascii -nobs < docs/en_US/changelog.html > docs/changelog