Browse Source

Debian: Fix some lintian bugs

Serj Kalichev 6 years ago
parent
commit
99b81c886a
3 changed files with 15 additions and 14 deletions
  1. 2 2
      contrib/debian/konfd
  2. 5 7
      debian/control
  3. 8 5
      debian/rules

+ 2 - 2
contrib/debian/konfd

@@ -1,8 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          kondf
-# Required-Start:    
-# Required-Stop:     
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Konfd initscript

+ 5 - 7
debian/control

@@ -9,15 +9,13 @@ Homepage: http://www.nixus.es
 
 Package: klish
 Architecture: any
-Depends: libexpat1, ${shlibs:Depends}
-Recommends:
-Suggests:
+Depends: libexpat1, ${shlibs:Depends}, ${misc:Depends}
 Description: command line interface shell
-  The klish is a framework for implementing a CISCO-like CLI on a UNIX systems.
-  It is configurable by XML files.
+ The klish is a framework for implementing a CISCO-like CLI on a UNIX systems.
+ It is configurable by XML files.
 
 Package: klish-dev
 Architecture: any
-Depends: klish
+Depends: klish, ${shlibs:Depends}, ${misc:Depends}
 Description: development files for klish
-  This package contains the development files for klish.
+ This package contains the development files for klish.

+ 8 - 5
debian/rules

@@ -11,22 +11,25 @@ INST_FILE = install -c $(INST_OWN) -m 644
 INST_PROG = install -c $(INST_OWN) -m 755 -s
 INST_SCRIPT = install -c $(INST_OWN) -m 755
 
-build: build-stamp
+build: build-arch build-indep
+
+build-arch: build-stamp
+
+build-indep: build-stamp
+
 build-stamp:
 	dh_testdir
-        
 	./configure --prefix=/usr
-
 	touch build-stamp
 
 clean: 
 	dh_testdir
 	dh_testroot
 
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 
 	rm -f build-stamp
-	dh_clean 
+	dh_clean
 
 install: build