port dsa-check-memory to python3
[mirror/dsa-nagios.git] / dsa-nagios-checks / debian / rules
index 0373cce..4eb394d 100755 (executable)
@@ -6,6 +6,8 @@ clean:
        dh_clean
 
 build:
+build-arch:
+build-indep:
 
 install:
        dh_testdir
@@ -13,7 +15,11 @@ install:
        dh_clean -k
        dh_installdirs
 
-       for f in `ls -1 checks/*`; do \
+       for f in `ls -1 checks/* | grep -v 'sample$$'`; do \
+               install -m 755 $$f $(CURDIR)/debian/dsa-nagios-checks/usr/lib/nagios/plugins; \
+       done
+
+       for f in `ls -1 event_handlers/* | grep -v 'sample$$'`; do \
                install -m 755 $$f $(CURDIR)/debian/dsa-nagios-checks/usr/lib/nagios/plugins; \
        done