Code

Rework rules and install slightly
authortolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5>
Mon, 26 Sep 2011 13:59:19 +0000 (13:59 +0000)
committertolimar <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
debian/install
debian/rules

index c4910f8cb760c3b327591aea13db2022fd282479..d7835477cef708c82ab05c5f67ee75ff73b71074 100644 (file)
@@ -8,6 +8,7 @@ nagvis (1:1.5.10-1) UNRELEASED; urgency=low
   * 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
 
index 3a7c546a66635f89ec7375409422b50d113ec0e3..9d30939cf66d0c5455e4b9029c7c2baf49161531 100644 (file)
@@ -1,7 +1,5 @@
 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
index 48ecf48d521f487de9260f906b9728cbba3aacd5..d0755b7fd0026ecff5ab0032f75f3419d2f408a7 100755 (executable)
@@ -36,20 +36,12 @@ clean: unpatch
 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